aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/label.exp
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-04-19 19:11:02 +0000
committerDoug Evans <dje@google.com>2012-04-19 19:11:02 +0000
commitb10faa68a450b43f31b78cc11bd06774a256a0a4 (patch)
tree49486c6adb717809dcb8e81f45488093dc58cf98 /gdb/testsuite/gdb.base/label.exp
parentff188ee48bcc46a18ce380dfa2b9c2b94751ea91 (diff)
downloadgdb-b10faa68a450b43f31b78cc11bd06774a256a0a4.zip
gdb-b10faa68a450b43f31b78cc11bd06774a256a0a4.tar.gz
gdb-b10faa68a450b43f31b78cc11bd06774a256a0a4.tar.bz2
* cleanups.h (struct cleanup): Move to cleanups.c.
(make_cleanup_dtor_ftype): New typedef. (make_cleanup_dtor): Use it. (ALL_CLEANUPS): Replace with ... (all_cleanups): ... this. Declare. All uses updated. * cleanups.c: #include "gdb_assert.h". (sentinel_cleanup): New static global. (SENTINEL_CLEANUP): Define. (cleanup_chain, final_cleanup_chain): Initialize to SENTINEL_CLEANUP. (make_my_cleanup2): Assert result is non-NULL. (all_cleanups): New function. (save_my_cleanups): Initialize new chain to SENTINEL_CLEANUP instead of NULL.
Diffstat (limited to 'gdb/testsuite/gdb.base/label.exp')
0 files changed, 0 insertions, 0 deletions