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 028a81b3585230c68f9bb4220beda933bf885451..e5c8bf38652bae91f6d49fa44cfeeefa44e69247 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 c2de217d40c322eeaa0c74193b153b65d912aa65..546c25edd25628b8d669ed597826795f66ad3463 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)
        {