summaryrefslogtreecommitdiff
path: root/gdb/source.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-18 19:49:52 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-18 19:49:52 +0000
commitc9c07f16d952a5eaa00564a04255113f5b62dbbd (patch)
treedc79e1000cf33ef64a41599dddb42a5e7637d74a /gdb/source.c
parent99185bfe21768a650964160d4134eeafb8969fa6 (diff)
downloadgdb-c9c07f16d952a5eaa00564a04255113f5b62dbbd.tar.gz
2005-02-18 Andrew Cagney <cagney@gnu.org>
Use add_setshow_uinteger_cmd through out. * printcmd.c, source.c, utils.c, valprint.c: Update.
Diffstat (limited to 'gdb/source.c')
-rw-r--r--gdb/source.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/source.c b/gdb/source.c
index 1f1a724564a..4bceaef0dd7 100644
--- a/gdb/source.c
+++ b/gdb/source.c
@@ -1633,10 +1633,10 @@ The matching line number is also stored as the value of \"$_\"."));
add_com_alias ("?", "reverse-search", class_files, 0);
}
- deprecated_add_show_from_set
- (add_set_cmd ("listsize", class_support, var_uinteger,
- (char *) &lines_to_list,
- "Set number of source lines gdb will list by default.",
- &setlist),
- &showlist);
+ add_setshow_uinteger_cmd ("listsize", class_support, &lines_to_list, _("\
+Set number of source lines gdb will list by default."), _("\
+Show number of source lines gdb will list by default."), NULL,
+ NULL,
+ NULL, /* FIXME: i18n: */
+ &setlist, &showlist);
}