gdb/
authorYao Qi <yao@codesourcery.com>
Mon, 17 Sep 2012 08:42:14 +0000 (08:42 +0000)
committerYao Qi <yao@codesourcery.com>
Mon, 17 Sep 2012 08:42:14 +0000 (08:42 +0000)
commit6fc1c7733ea454110cfcb02be7d9b4b0f12eca91
tree21dc5418ed29e2209c93817d94465640b82d124f
parent6acef6cd7bfefe89401de1eca7e12e737eb94da6
gdb/
* cli/cli-decode.c (add_setshow_zuinteger_unlimited_cmd): New.
Update comment to add_setshow_integer_cmd.
* cli/cli-setshow.c (do_set_command): Handle case
'var_zuinteger_unlimited'.
(do_show_command): Likewise.
* cli/cli-cmds.c (init_cmds): Call add_setshow_zuinteger_unlimited_cmd
for command 'remotetimeout'.
* command.h (enum var_types): New zuinteger_unlimited.  Update comment
to var_integer.
* source.c (_initialize_source): Call add_setshow_zuinteger_unlimited_cmd
for command 'set listsize'.

gdb/doc/
* gdb.texinfo (List): Describe the meaning of 0 and -1 in
'set listsize'.

gdb/testsuite/
* gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
when it is less than 0.
gdb/ChangeLog
gdb/cli/cli-cmds.c
gdb/cli/cli-decode.c
gdb/cli/cli-setshow.c
gdb/command.h
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/source.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/list.exp