gdb/
* cleanups.c (restore_my_cleanups): New gdb_assert for SENTINEL_CLEANUP.
This commit is contained in:
parent
faab992242
commit
dc90b24d1b
|
@ -1,3 +1,7 @@
|
|||
2013-05-05 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* cleanups.c (restore_my_cleanups): New gdb_assert for SENTINEL_CLEANUP.
|
||||
|
||||
2013-05-05 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* event-top.c (display_gdb_prompt): Call missing do_cleanups.
|
||||
|
|
|
@ -261,6 +261,7 @@ save_final_cleanups (void)
|
|||
static void
|
||||
restore_my_cleanups (struct cleanup **pmy_chain, struct cleanup *chain)
|
||||
{
|
||||
gdb_assert (*pmy_chain == SENTINEL_CLEANUP);
|
||||
*pmy_chain = chain;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue