diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-18 18:58:56 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-18 18:58:56 +0000 |
commit | 85c078043bd43ef5cb76191a6d3e2159da0c302e (patch) | |
tree | aef38e888b43e7d9b0213072ba24fed730662da7 /gdb/monitor.c | |
parent | 904c75ac4f1f245639601fa4f62fe95579ad6b59 (diff) | |
download | gdb-85c078043bd43ef5cb76191a6d3e2159da0c302e.zip gdb-85c078043bd43ef5cb76191a6d3e2159da0c302e.tar.gz gdb-85c078043bd43ef5cb76191a6d3e2159da0c302e.tar.bz2 |
2005-02-18 Andrew Cagney <cagney@gnu.org>
Use add_setshow_zinteger_cmd through out. Re-sync gdbarch.sh
and gdbarch.c.
* breakpoint.c, frame.c, gdb-events.sh, gdbarch.sh: Update.
* gdbtypes.c, infrun.c, linux-nat.c, maint.c, monitor.c: Update.
* pa64solib.c, parse.c, remote-mips.c, ser-go32.c: Update.
* serial.c, solib-frv.c, somsolib.c, target.c, top.c: Update.
* varobj.c, cli/cli-cmds.c: Update.
* gdbarch.c, gdb-events.c: Regenerate.
Diffstat (limited to 'gdb/monitor.c')
-rw-r--r-- | gdb/monitor.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gdb/monitor.c b/gdb/monitor.c index 76a7d70..c805eb4 100644 --- a/gdb/monitor.c +++ b/gdb/monitor.c @@ -2303,11 +2303,12 @@ When enabled, a hashmark \'#\' is displayed."), NULL, /* FIXME: i18n: */ &setlist, &showlist); - deprecated_add_show_from_set - (add_set_cmd ("monitor", no_class, var_zinteger, - (char *) &monitor_debug_p, - "Set debugging of remote monitor communication.\n\ + add_setshow_zinteger_cmd ("monitor", no_class, &monitor_debug_p, _("\ +Set debugging of remote monitor communication."), _("\ +Show debugging of remote monitor communication."), _("\ When enabled, communication between GDB and the remote monitor\n\ -is displayed.", &setdebuglist), - &showdebuglist); +is displayed."), + NULL, + NULL, /* FIXME: i18n: */ + &setdebuglist, &showdebuglist); } |