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:
parent
e6f5c25b57
commit
de1fe8c8ab
@ -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>
|
||||
|
||||
* infrun.c (wait_for_inferior): Install the
|
||||
|
@ -6251,6 +6251,7 @@ keep_going (struct execution_control_state *ecs)
|
||||
{
|
||||
exception_print (gdb_stderr, e);
|
||||
stop_waiting (ecs);
|
||||
discard_cleanups (old_cleanups);
|
||||
return;
|
||||
}
|
||||
END_CATCH
|
||||
|
Loading…
x
Reference in New Issue
Block a user