* symfile-mem.c (symbol_file_add_from_memory): Call do_cleanups.
authorTom Tromey <tromey@redhat.com>
Thu, 30 Jun 2011 18:48:19 +0000 (18:48 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 30 Jun 2011 18:48:19 +0000 (18:48 +0000)
commit3bb47e8bce4c147142b298c5c23368ba189105bc
tree3c690a64aeedd9d72f9cedc4a687491d80ba2f40
parent4727bad393ed5ccd73480968cbf3c4f5003542bc
* symfile-mem.c (symbol_file_add_from_memory): Call do_cleanups.
* solib-svr4.c (open_symbol_file_object): Call do_cleanups on all
return paths.  Defer final do_cleanups until last return.
* arm-tdep.c (arm_exidx_new_objfile): Make null cleanup after
early return.
gdb/ChangeLog
gdb/arm-tdep.c
gdb/solib-svr4.c
gdb/symfile-mem.c