diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-18 19:49:52 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-18 19:49:52 +0000 |
commit | 35096d9d67ac1c2bc69fff09e23849df4c238233 (patch) | |
tree | 7634eb7fb0cab00b5ad606844be23ba2d91150bb /gdb/printcmd.c | |
parent | 85c078043bd43ef5cb76191a6d3e2159da0c302e (diff) | |
download | gdb-35096d9d67ac1c2bc69fff09e23849df4c238233.zip gdb-35096d9d67ac1c2bc69fff09e23849df4c238233.tar.gz gdb-35096d9d67ac1c2bc69fff09e23849df4c238233.tar.bz2 |
2005-02-18 Andrew Cagney <cagney@gnu.org>
Use add_setshow_uinteger_cmd through out.
* printcmd.c, source.c, utils.c, valprint.c: Update.
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r-- | gdb/printcmd.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c index 63281ea..f490d4b 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -2128,12 +2128,13 @@ Same as \"print\" command, except that if you are running in the epoch\n\ environment, the value is printed in its own window.")); set_cmd_completer (c, location_completer); - deprecated_add_show_from_set - (add_set_cmd ("max-symbolic-offset", no_class, var_uinteger, - (char *) &max_symbolic_offset, - "Set the largest offset that will be printed in <symbol+1234> form.", - &setprintlist), - &showprintlist); + add_setshow_uinteger_cmd ("max-symbolic-offset", no_class, + &max_symbolic_offset, _("\ +Set the largest offset that will be printed in <symbol+1234> form."), _("\ +Show the largest offset that will be printed in <symbol+1234> form."), NULL, + NULL, + NULL, /* FIXME: i18n: */ + &setprintlist, &showprintlist); add_setshow_boolean_cmd ("symbol-filename", no_class, &print_symbol_filename, _("\ Set printing of source filename and line number with <symbol>."), _("\ |