diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-18 15:25:32 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-18 15:25:32 +0000 |
commit | 5bf193a2eedab2cf1437c762fee2cfc8249753a0 (patch) | |
tree | a209cafbc0683a5e13b2a911bd3c423fd103719f /gdb/infrun.c | |
parent | ac40b91956761ebc182da98f5c3cdae13c6f8696 (diff) | |
download | gdb-5bf193a2eedab2cf1437c762fee2cfc8249753a0.zip gdb-5bf193a2eedab2cf1437c762fee2cfc8249753a0.tar.gz gdb-5bf193a2eedab2cf1437c762fee2cfc8249753a0.tar.bz2 |
2005-02-18 Andrew Cagney <cagney@gnu.org>
Use add_setshow_boolean_command through out. Delete #ifdef 0'ed
code adding set/show boolean commands.
* cp-valprint.c, dcache.c, exec.c, gdbtypes.c, infrun.c: Update.
* monitor.c, p-valprint.c, pa64solib.c, printcmd.c: Update.
* proc-api.c, remote-mips.c, remote.c, solib.c: Update.
* somsolib.c, symfile.c, top.c, utils.c, valops.c: Update.
* valprint.c, win32-nat.c, wince.c, xcoffsolib.c: Update.
* cli/cli-cmds.c: Update.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 7f3eeab..8cd95a1 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -3929,13 +3929,15 @@ step == scheduler locked during every single-step operation.\n\ set_cmd_sfunc (c, set_schedlock_func); /* traps on target vector */ deprecated_add_show_from_set (c, &showlist); - c = add_set_cmd ("step-mode", class_run, - var_boolean, (char *) &step_stop_if_no_debug, - "Set mode of the step operation. When set, doing a step over a\n\ -function without debug line information will stop at the first\n\ -instruction of that function. Otherwise, the function is skipped and\n\ -the step command stops at a different source line.", &setlist); - deprecated_add_show_from_set (c, &showlist); + add_setshow_boolean_cmd ("step-mode", class_run, &step_stop_if_no_debug, _("\ +Set mode of the step operation."), _("\ +Show mode of the step operation."), _("\ +When set, doing a step over a function without debug line information\n\ +will stop at the first instruction of that function. Otherwise, the\n\ +function is skipped and the step command stops at a different source line."), + NULL, + NULL, /* FIXME: i18n: */ + &setlist, &showlist); /* ptid initializations */ null_ptid = ptid_build (0, 0, 0); |