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: "Andrew Burgess" <aburgess at broadcom dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Fri, 6 Sep 2013 09:54:34 +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> <5228BBB9 dot 4020904 at redhat dot com>
On 05/09/2013 6:13 PM, Pedro Alves wrote:
> 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.
Committed with the above fix.
Thanks Pedro & Stan for the review.
Andrew