This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb event-top.c event-top.h interps.c Chan ...
- From: aburgess at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: Fri, 06 Sep 2013 08:53:10 +0000
- Subject: src/gdb event-top.c event-top.h interps.c Chan ...
CVSROOT: /cvs/src
Module name: src
Changes by: aburgess@sourceware.org 2013-09-06 08:53:10
Modified files:
gdb : event-top.c event-top.h interps.c ChangeLog
gdb/cli : cli-interp.c
gdb/tui : tui-interp.c
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/event-top.c.diff?cvsroot=src&r1=1.96&r2=1.97
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/event-top.h.diff?cvsroot=src&r1=1.22&r2=1.23
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/interps.c.diff?cvsroot=src&r1=1.52&r2=1.53
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15984&r2=1.15985
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/cli/cli-interp.c.diff?cvsroot=src&r1=1.28&r2=1.29
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/tui/tui-interp.c.diff?cvsroot=src&r1=1.34&r2=1.35