From 4d09c5b4239111b21fd6ee20054c71b260c3b8ae Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Fri, 6 Sep 2013 08:53:09 +0000 Subject: Give every interpreter a command_loop_proc. https://sourceware.org/ml/gdb-patches/2013-09/msg00179.html gdb/ChangeLog * cli/cli-interp.c (_initialize_cli_interp): Add a command_loop_proc to interp_procs. * event-top.c (cli_command_loop): Change signature to match interp_command_loop_ftype. * event-top.h (cli_command_loop): Same. * 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. * tui/tui-interp.c (_initialize_tui_interp): Add a command_loop_proc to interp_procs. --- gdb/ChangeLog | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'gdb/ChangeLog') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8a30eb2..e4ebab8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,17 @@ +2013-09-06 Andrew Burgess + + * cli/cli-interp.c (_initialize_cli_interp): Add a + command_loop_proc to interp_procs. + * event-top.c (cli_command_loop): Change signature to match + interp_command_loop_ftype. + * event-top.h (cli_command_loop): Same. + * 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. + * tui/tui-interp.c (_initialize_tui_interp): Add a + command_loop_proc to interp_procs. + 2013-09-06 Ricard Wanderlof * cris-tdep.c (cris_gdbarch_init): Add call to -- cgit v1.1