mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 23:39:35 +08:00
keep_going: Add missing discard_cleanups call
By inspection, I noticed a path where we return without discarding the cleanups. gdb/ChangeLog: 2015-04-01 Pedro Alves <palves@redhat.com> * infrun.c (keep_going): Also discard cleanups if inserting breakpoints fails.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2015-04-01 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
|
* infrun.c (keep_going): Also discard cleanups if inserting
|
||||||
|
breakpoints fails.
|
||||||
|
|
||||||
2015-04-01 Pedro Alves <palves@redhat.com>
|
2015-04-01 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
* infrun.c (wait_for_inferior): Install the
|
* infrun.c (wait_for_inferior): Install the
|
||||||
|
@ -6251,6 +6251,7 @@ keep_going (struct execution_control_state *ecs)
|
|||||||
{
|
{
|
||||||
exception_print (gdb_stderr, e);
|
exception_print (gdb_stderr, e);
|
||||||
stop_waiting (ecs);
|
stop_waiting (ecs);
|
||||||
|
discard_cleanups (old_cleanups);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
END_CATCH
|
END_CATCH
|
||||||
|
Reference in New Issue
Block a user