fix "stale cleanup" internal-warning when using "catch assert" command
[deliverable/binutils-gdb.git] / gdb / stack.c
index 427b182c7f5a7c31f6e13b52f9839e29cf52b67c..74c92537da46524d60c072da202731887c4b0d78 100644 (file)
@@ -777,7 +777,7 @@ do_gdb_disassembly (struct gdbarch *gdbarch,
    
    SRC_LINE: Print only source line.
    LOCATION: Print only location.
-   LOC_AND_SRC: Print location and source line.
+   SRC_AND_LOC: Print location and source line.
 
    Used in "where" output, and to emit breakpoint or step
    messages.  */
@@ -1645,7 +1645,6 @@ info_frame_command (const char *addr_exp, int from_tty)
              }
 
            release_value (value);
-           value_free (value);
            need_nl = 0;
          }
        /* else keep quiet.  */
@@ -1697,7 +1696,6 @@ backtrace_command_1 (const char *count_exp, frame_filter_flags flags,
 {
   struct frame_info *fi;
   int count;
-  int i;
   int py_start = 0, py_end = 0;
   enum ext_lang_bt_status result = EXT_LANG_BT_ERROR;
 
@@ -1780,25 +1778,7 @@ backtrace_command_1 (const char *count_exp, frame_filter_flags flags,
          count = -1;
        }
 
-      if (info_verbose)
-       {
-         /* Read in symbols for all of the frames.  Need to do this in a
-            separate pass so that "Reading in symbols for xxx" messages
-            don't screw up the appearance of the backtrace.  Also if
-            people have strong opinions against reading symbols for
-            backtrace this may have to be an option.  */
-         i = count;
-         for (fi = trailing; fi != NULL && i--; fi = get_prev_frame (fi))
-           {
-             CORE_ADDR pc;
-
-             QUIT;
-             pc = get_frame_address_in_block (fi);
-             expand_symtab_containing_pc (pc, find_pc_mapped_section (pc));
-           }
-       }
-
-      for (i = 0, fi = trailing; fi && count--; i++, fi = get_prev_frame (fi))
+      for (fi = trailing; fi && count--; fi = get_prev_frame (fi))
        {
          QUIT;
 
This page took 0.025739 seconds and 4 git commands to generate.