diff options
author | Michael Snyder <msnyder@vmware.com> | 2010-05-13 21:11:43 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2010-05-13 21:11:43 +0000 |
commit | c14feecc50e1e5d07f787acb7c059136368f2601 (patch) | |
tree | 28280fa7d95c44fcef9df214e091ac0bcc5c810f /gdb/stack.c | |
parent | a2d33775a1e3b8a3c7570b7badf54b72e5b84a3b (diff) | |
download | fsf-binutils-gdb-c14feecc50e1e5d07f787acb7c059136368f2601.zip fsf-binutils-gdb-c14feecc50e1e5d07f787acb7c059136368f2601.tar.gz fsf-binutils-gdb-c14feecc50e1e5d07f787acb7c059136368f2601.tar.bz2 |
2010-05-13 Michael Snyder <msnyder@vmware.com>
* stack.c (initialize_stack): Remove long-dead code.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/stack.c b/gdb/stack.c index 0632245..7207b15 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -2140,10 +2140,6 @@ void _initialize_stack (void); void _initialize_stack (void) { -#if 0 - backtrace_limit = 30; -#endif - add_com ("return", class_stack, return_command, _("\ Make selected stack frame return to its caller.\n\ Control remains in the debugger, but when you continue\n\ @@ -2248,12 +2244,4 @@ source line."), show_disassemble_next_line, &setlist, &showlist); disassemble_next_line = AUTO_BOOLEAN_FALSE; - -#if 0 - add_cmd ("backtrace-limit", class_stack, set_backtrace_limit_command, _(\ -"Specify maximum number of frames for \"backtrace\" to print by default."), - &setlist); - add_info ("backtrace-limit", backtrace_limit_info, _("\ -The maximum number of frames for \"backtrace\" to print by default.")); -#endif } |