diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-18 19:49:52 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-18 19:49:52 +0000 |
commit | 35096d9d67ac1c2bc69fff09e23849df4c238233 (patch) | |
tree | 7634eb7fb0cab00b5ad606844be23ba2d91150bb /gdb/source.c | |
parent | 85c078043bd43ef5cb76191a6d3e2159da0c302e (diff) | |
download | gdb-35096d9d67ac1c2bc69fff09e23849df4c238233.zip gdb-35096d9d67ac1c2bc69fff09e23849df4c238233.tar.gz gdb-35096d9d67ac1c2bc69fff09e23849df4c238233.tar.bz2 |
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.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/source.c b/gdb/source.c index 1f1a724..4bceaef 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); } |