2005-02-18 Andrew Cagney <cagney@gnu.org>

Use add_setshow_uinteger_cmd through out.
	* printcmd.c, source.c, utils.c, valprint.c: Update.
This commit is contained in:
Andrew Cagney 2005-02-18 19:49:52 +00:00
parent 85c078043b
commit 35096d9d67
5 changed files with 55 additions and 46 deletions

View file

@ -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);
}