diff options
Diffstat (limited to 'gdb/source.c')
-rw-r--r-- | gdb/source.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/source.c b/gdb/source.c index 0ff0782..31e104f 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -1965,12 +1965,12 @@ The matching line number is also stored as the value of \"$_\".")); add_com_alias ("?", "reverse-search", class_files, 0); } - add_setshow_integer_cmd ("listsize", class_support, &lines_to_list, _("\ + add_setshow_zuinteger_unlimited_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, - show_lines_to_list, - &setlist, &showlist); + NULL, show_lines_to_list, + &setlist, &showlist); add_cmd ("substitute-path", class_files, set_substitute_path_command, _("\ |