mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
* infrun.c (resume): Discard cleanups on early exit path.
This commit is contained in:
11
gdb/infrun.c
11
gdb/infrun.c
@@ -969,10 +969,13 @@ a command like `return' or `jump' to continue execution."));
|
||||
&& sig == TARGET_SIGNAL_0)
|
||||
{
|
||||
if (!displaced_step_prepare (inferior_ptid))
|
||||
/* Got placed in displaced stepping queue. Will be resumed
|
||||
later when all the currently queued displaced stepping
|
||||
requests finish. */
|
||||
return;
|
||||
{
|
||||
/* Got placed in displaced stepping queue. Will be resumed
|
||||
later when all the currently queued displaced stepping
|
||||
requests finish. */
|
||||
discard_cleanups (old_cleanups);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (step && gdbarch_software_single_step_p (gdbarch))
|
||||
|
||||
Reference in New Issue
Block a user