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 | 7425f4ec05a5dd944ec817ebf8f2131e34f2db71 (patch) | |
tree | 9479b9e1713cc972b7345f7185701d12009f945a /gdb/p-valprint.c | |
parent | 26ab628f8fb333f4b372d216d514a67c28f4adfe (diff) | |
download | gdb-7425f4ec05a5dd944ec817ebf8f2131e34f2db71.tar.gz |
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/p-valprint.c')
-rw-r--r-- | gdb/p-valprint.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gdb/p-valprint.c b/gdb/p-valprint.c index 836be4ed883..173d647d23a 100644 --- a/gdb/p-valprint.c +++ b/gdb/p-valprint.c @@ -1107,12 +1107,13 @@ extern initialize_file_ftype _initialize_pascal_valprint; /* -Wmissing-prototype void _initialize_pascal_valprint (void) { - deprecated_add_show_from_set - (add_set_cmd ("pascal_static-members", class_support, var_boolean, - (char *) &pascal_static_field_print, - "Set printing of pascal static members.", - &setprintlist), - &showprintlist); + add_setshow_boolean_cmd ("pascal_static-members", class_support, + &pascal_static_field_print, _("\ +Set printing of pascal static members."), _("\ +Show printing of pascal static members."), NULL, + NULL, + NULL, /* FIXME: i18n: */ + &setprintlist, &showprintlist); /* Turn on printing of static fields. */ pascal_static_field_print = 1; |