aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtypes.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbtypes.c')
-rw-r--r--gdb/gdbtypes.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c
index bb9fe3fc..42f5544 100644
--- a/gdb/gdbtypes.c
+++ b/gdb/gdbtypes.c
@@ -3707,9 +3707,11 @@ _initialize_gdbtypes (void)
"builtin_type_ia64_quad_little",
&floatformat_ia64_quad_little);
- deprecated_add_show_from_set
- (add_set_cmd ("overload", no_class, var_zinteger, (char *) &overload_debug,
- "Set debugging of C++ overloading.\n\
-When enabled, ranking of the functions is displayed.", &setdebuglist),
- &showdebuglist);
+ add_setshow_zinteger_cmd ("overload", no_class, &overload_debug, _("\
+Set debugging of C++ overloading."), _("\
+Show debugging of C++ overloading."), _("\
+When enabled, ranking of the functions is displayed."),
+ NULL,
+ NULL, /* FIXME: i18n: */
+ &setdebuglist, &showdebuglist);
}