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/infrun.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/infrun.c')
-rw-r--r-- | gdb/infrun.c | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 8cd95a1..eb5fa15 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -3840,9 +3840,13 @@ There is no `stop' command, but you can set a hook on `stop'.\n\ This allows you to set a list of commands to be run each time execution\n\ of the program stops."), &cmdlist); - add_set_cmd ("infrun", class_maintenance, var_zinteger, - &debug_infrun, "Set inferior debugging.\n\ -When non-zero, inferior specific debugging is enabled.", &setdebuglist); + add_setshow_zinteger_cmd ("infrun", class_maintenance, &debug_infrun, _("\ +Set inferior debugging."), _("\ +Show inferior debugging."), _("\ +When non-zero, inferior specific debugging is enabled."), + NULL, + NULL, /* FIXME: i18n: */ + &setdebuglist, &showdebuglist); numsigs = (int) TARGET_SIGNAL_LAST; signal_stop = (unsigned char *) xmalloc (sizeof (signal_stop[0]) * numsigs); @@ -3892,15 +3896,16 @@ When non-zero, inferior specific debugging is enabled.", &setdebuglist); signal_print[TARGET_SIGNAL_CANCEL] = 0; #ifdef SOLIB_ADD - deprecated_add_show_from_set - (add_set_cmd ("stop-on-solib-events", class_support, var_zinteger, - (char *) &stop_on_solib_events, - "Set stopping for shared library events.\n\ + add_setshow_zinteger_cmd ("stop-on-solib-events", class_support, + &stop_on_solib_events, _("\ +Set stopping for shared library events."), _("\ +Show stopping for shared library events."), _("\ If nonzero, gdb will give control to the user when the dynamic linker\n\ notifies gdb of shared library events. The most common event of interest\n\ -to the user would be loading/unloading of a new library.\n", - &setlist), - &showlist); +to the user would be loading/unloading of a new library."), + NULL, + NULL, /* FIXME: i18n: */ + &setlist, &showlist); #endif c = add_set_enum_cmd ("follow-fork-mode", |