Remove leftover call to do_cleanups() which resulted from a previous change.
authorFred Fish <fnf@specifix.com>
Sat, 9 Nov 1991 21:57:55 +0000 (21:57 +0000)
committerFred Fish <fnf@specifix.com>
Sat, 9 Nov 1991 21:57:55 +0000 (21:57 +0000)
Was being called with a random pointer.

gdb/ChangeLog
gdb/dwarfread.c

index 028a81b..e5c8bf3 100644 (file)
@@ -1,5 +1,8 @@
 Sat Nov  9 13:37:57 1991  Fred Fish  (fnf at cygnus.com)
 
+       * dwarfread.c (dwarf_psymtab_to_symtab):  Remove leftover call
+       to do_cleanups() which resulted from a previous change.
+
        * elfread.c:  Re-enable compilation of register_addr() stub
        whenever it is not supplied by coredep.c
 
index c2de217..546c25e 100644 (file)
@@ -2404,7 +2404,6 @@ static void
 DEFUN(dwarf_psymtab_to_symtab, (pst), struct partial_symtab *pst)
 {
   int desc;
-  struct cleanup *old_chain;
   bfd *sym_bfd;
   
   if (!pst)
@@ -2438,8 +2437,6 @@ DEFUN(dwarf_psymtab_to_symtab, (pst), struct partial_symtab *pst)
       scan_file_globals ();
 #endif
       
-      do_cleanups (old_chain);
-      
       /* Finish up the debug error message.  */
       if (info_verbose)
        {