PR c++/13653:
authorTom Tromey <tromey@redhat.com>
Thu, 16 Feb 2012 14:35:00 +0000 (14:35 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 16 Feb 2012 14:35:00 +0000 (14:35 +0000)
commit9addecb9fb140b0f92a0f06ee90809768bd16eae
treef82b5b561c5827241ddb09e7eefd13f1db1fabee
parentbf4c19f73effc1808b4093463e68a7c161b9503a
PR c++/13653:
* thread.c (struct current_thread_cleanup) <was_removable>: New
field.
(do_restore_current_thread_cleanup): Restore 'removable' field.
(restore_current_thread_cleanup_dtor): Likewise.
(make_cleanup_restore_current_thread): Initialize new field.
testsuite/gdb
* gdb.base/inferior-died.c: New file.
* gdb.base/inferior-died.exp: New file.
gdb/ChangeLog
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/inferior-died.c [new file with mode: 0644]
gdb/testsuite/gdb.base/inferior-died.exp [new file with mode: 0644]
gdb/thread.c