This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Give every interpreter a command_loop_proc.
- From: Pedro Alves <palves at redhat dot com>
- To: Andrew Burgess <aburgess at broadcom dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Thu, 05 Sep 2013 18:13:29 +0100
- Subject: Re: [PATCH] Give every interpreter a command_loop_proc.
- Authentication-results: sourceware.org; auth=none
- References: <5228B883 dot 2010602 at broadcom dot com>
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