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/somsolib.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/somsolib.c')
-rw-r--r-- | gdb/somsolib.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/gdb/somsolib.c b/gdb/somsolib.c index 7987b3f..166180c 100644 --- a/gdb/somsolib.c +++ b/gdb/somsolib.c @@ -1557,16 +1557,17 @@ _initialize_som_solib (void) add_info ("sharedlibrary", som_sharedlibrary_info_command, _("Status of loaded shared object libraries.")); - deprecated_add_show_from_set - (add_set_cmd ("auto-solib-add", class_support, var_boolean, - (char *) &auto_solib_add, - "Set autoloading of shared library symbols.\n\ + add_setshow_boolean_cmd ("auto-solib-add", class_support, + &auto_solib_add, _("\ +Set autoloading of shared library symbols."), _("\ +Show autoloading of shared library symbols."), _("\ If \"on\", symbols from all shared object libraries will be loaded\n\ automatically when the inferior begins execution, when the dynamic linker\n\ informs gdb that a new library has been loaded, or when attaching to the\n\ -inferior. Otherwise, symbols must be loaded manually, using `sharedlibrary'.", - &setlist), - &showlist); +inferior. Otherwise, symbols must be loaded manually, using `sharedlibrary'."), + NULL, + NULL, /* FIXME: i18n: */ + &setlist, &showlist); deprecated_add_show_from_set (add_set_cmd ("auto-solib-limit", class_support, var_zinteger, |