aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-18 15:25:32 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-18 15:25:32 +0000
commit5bf193a2eedab2cf1437c762fee2cfc8249753a0 (patch)
treea209cafbc0683a5e13b2a911bd3c423fd103719f /gdb/symfile.c
parentac40b91956761ebc182da98f5c3cdae13c6f8696 (diff)
downloadbinutils-5bf193a2eedab2cf1437c762fee2cfc8249753a0.zip
binutils-5bf193a2eedab2cf1437c762fee2cfc8249753a0.tar.gz
binutils-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/symfile.c')
-rw-r--r--gdb/symfile.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 201a7f4..142f026 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -3560,12 +3560,13 @@ Dynamically load FILE into the running program, and record its symbols\n\
for access from GDB."), &cmdlist);
set_cmd_completer (c, filename_completer);
- deprecated_add_show_from_set
- (add_set_cmd ("symbol-reloading", class_support, var_boolean,
- (char *) &symbol_reloading,
- "Set dynamic symbol table reloading multiple times in one run.",
- &setlist),
- &showlist);
+ add_setshow_boolean_cmd ("symbol-reloading", class_support,
+ &symbol_reloading, _("\
+Set dynamic symbol table reloading multiple times in one run."), _("\
+Show dynamic symbol table reloading multiple times in one run."), NULL,
+ NULL,
+ NULL, /* FIXME: i18n: */
+ &setlist, &showlist);
add_prefix_cmd ("overlay", class_support, overlay_command,
_("Commands for debugging overlays."), &overlaylist,