* cleanups.h: New file.
authorDoug Evans <dje@google.com>
Tue, 17 Apr 2012 21:13:20 +0000 (21:13 +0000)
committerDoug Evans <dje@google.com>
Tue, 17 Apr 2012 21:13:20 +0000 (21:13 +0000)
commitc27f5738407bad7199f3d532b3648f24508a7fd4
tree3a0ad69a1ff223ae1034c7cd71b3253bc5b83e23
parente0088cfdc713f852a4e85aab36d67a91293e9ede
* cleanups.h: New file.
* cleanups.c: New file.
* Makefile.in (SFILES): Add cleanups.c.
(HFILES_NO_SRCDIR): Add cleanups.h.
(COMMON_OBS): Add cleanups.o.
* defs.h (struct cleanup): Moved to cleanups.h.
(do_cleanups,do_final_cleanups): Ditto.
(discard_cleanups,discard_final_cleanups): Ditto
(make_cleanup,make_cleanup_dtor,make_final_cleanup): Ditto.
(save_cleanups,save_final_cleanups): Ditto.
(restore_cleanups,restore_final_cleanups): Ditto.
(null_cleanup): Ditto.
(make_my_cleanup,make_my_cleanup2): Ditto.
(discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto.
* utils.c (cleanup_chain,final_cleanup_chain): Moved to cleanups.c.
(do_cleanups,do_final_cleanups): Ditto.
(discard_cleanups,discard_final_cleanups): Ditto
(make_cleanup,make_cleanup_dtor,make_final_cleanup): Ditto.
(save_cleanups,save_final_cleanups): Ditto.
(restore_cleanups,restore_final_cleanups): Ditto.
(null_cleanup): Ditto.
(make_my_cleanup,make_my_cleanup2): Ditto.
(discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto.
gdb/ChangeLog
gdb/Makefile.in
gdb/cleanups.c [new file with mode: 0644]
gdb/cleanups.h [new file with mode: 0644]
gdb/defs.h
gdb/utils.c