This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Give every interpreter a command_loop_proc.


On 09/05/2013 05:59 PM, Andrew Burgess wrote:

> 2013-09-05  Andrew Burgess  <aburgess@broadcom.com>
> 
> 	* gdb/cli/cli-interp.c (_initialize_cli_interp): Add a
> 	command_loop_proc to interp_procs.
> 	* gdb/event-top.c (cli_command_loop): Change signature to match
> 	interp_command_loop_ftype.
> 	* gdb/event-top.h (cli_command_loop): Same.
> 	* gdb/interps.c (interp_new): Require every interpreter to have a
> 	command_loop_proc.
> 	(current_interp_command_loop): Just call the command_loop_proc on
> 	the current interpreter.
> 	* gdb/tui/tui-interp.c (_initialize_tui_interp): Add a
> 	command_loop_proc to interp_procs.

s,gdb/,, in all the above.

OK.

Thanks!

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]