aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffsolib.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/xcoffsolib.c')
-rw-r--r--gdb/xcoffsolib.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/gdb/xcoffsolib.c b/gdb/xcoffsolib.c
index b43b847..763f8f7 100644
--- a/gdb/xcoffsolib.c
+++ b/gdb/xcoffsolib.c
@@ -183,14 +183,15 @@ _initialize_xcoffsolib (void)
add_info ("sharedlibrary", solib_info,
_("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);
}