]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/top.c
gdb/
authorYao Qi <yao@codesourcery.com>
Tue, 28 Aug 2012 14:08:42 +0000 (14:08 +0000)
committerYao Qi <yao@codesourcery.com>
Tue, 28 Aug 2012 14:08:42 +0000 (14:08 +0000)
commit883b9c6c986112470844e07039d55789d11f706b
tree746d4f3654a1d4ab572f82dd5596b8b745d59729
parent1292279a4ef1c77bd8e6ffb26346ebc0592e1a8d
gdb/
* cli/cli-cmds.c (max_user_call_depth): Add 'unsigned'.
(init_cmds): Call add_setshow_uinteger_cmd for command
'max-user-call-depth'.
* cli/cli-script.c (execute_user_command): Add 'unsigned' to the
declaration of 'max_user_call_depth'.
* frame.c (backtrace_limit): Add 'unsigned'.
(_initialize_frame): Call add_setshow_uinteger_cmd for command
'limit'.
* remote.c (remoteaddresssize): Add 'unsigned'.
(remote_address_masked): Change local var 'address_size' to
'unsigned'.
(_initialize_remote): Call add_setshow_uinteger_cmd for
'remoteaddresssize'.
* top.c (history_size): Add 'unsigned'.
(show_commands): Change local variables to 'unsigned'.
(set_history_size_command): Don't check history_size is negative.
Adjust the condition to call unstifle_history and set history_size
to UNIT_MAX.
gdb/ChangeLog
gdb/cli/cli-cmds.c
gdb/cli/cli-script.c
gdb/frame.c
gdb/remote.c
gdb/top.c