diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-01-15 19:09:30 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-01-15 19:09:30 +0000 |
commit | bd4109fb5129dbedaa6044edbe3ff552e46aa490 (patch) | |
tree | 8a955a47fbafc29b0487154e2bbe4a746077874c | |
parent | 9078e6905b6bcc4508e3ec2da6a5430209555f27 (diff) | |
download | gdb-bd4109fb5129dbedaa6044edbe3ff552e46aa490.zip gdb-bd4109fb5129dbedaa6044edbe3ff552e46aa490.tar.gz gdb-bd4109fb5129dbedaa6044edbe3ff552e46aa490.tar.bz2 |
* source.c (_initialize_source): Use add_setshow_integer_cmd.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/source.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 18dc4fb..3a6921a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com> + * source.c (_initialize_source): Use add_setshow_integer_cmd. + +2006-01-15 Daniel Jacobowitz <dan@codesourcery.com> + * linux-fork.c (delete_fork_command, detach_fork_command): Use PIDGET. diff --git a/gdb/source.c b/gdb/source.c index ec13165..f9f7dd1 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -1638,7 +1638,7 @@ The matching line number is also stored as the value of \"$_\".")); add_com_alias ("?", "reverse-search", class_files, 0); } - add_setshow_uinteger_cmd ("listsize", class_support, &lines_to_list, _("\ + add_setshow_integer_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, |