2010-05-13 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Thu, 13 May 2010 21:11:43 +0000 (21:11 +0000)
committerMichael Snyder <msnyder@vmware.com>
Thu, 13 May 2010 21:11:43 +0000 (21:11 +0000)
* stack.c (initialize_stack): Remove long-dead code.

gdb/ChangeLog
gdb/stack.c

index b2199ce80c87cae68af32f84f8f5a4b7c37659a7..74bb0ce050637f5f04d576a7932d24e9bcb8ffc8 100644 (file)
@@ -1,3 +1,7 @@
+2010-05-13  Michael Snyder  <msnyder@vmware.com>
+
+       * stack.c (initialize_stack): Remove long-dead code.
+
 2010-05-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        Code cleanup.
index 06322454009e5d8eae44fe30f34eb14df3d56444..7207b1589e2a16a62e23dd64ab781d63bcc66708 100644 (file)
@@ -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
 }