mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 02:50:08 +08:00
* infrun.c (resume): Discard cleanups on early exit path.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
|
||||||
|
|
||||||
|
* infrun.c (resume): Discard cleanups on early exit path.
|
||||||
|
|
||||||
2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
|
2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
|
||||||
|
|
||||||
* infrun.c (normal_stop): For MI, report which threads
|
* infrun.c (normal_stop): For MI, report which threads
|
||||||
|
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)
|
&& sig == TARGET_SIGNAL_0)
|
||||||
{
|
{
|
||||||
if (!displaced_step_prepare (inferior_ptid))
|
if (!displaced_step_prepare (inferior_ptid))
|
||||||
/* Got placed in displaced stepping queue. Will be resumed
|
{
|
||||||
later when all the currently queued displaced stepping
|
/* Got placed in displaced stepping queue. Will be resumed
|
||||||
requests finish. */
|
later when all the currently queued displaced stepping
|
||||||
return;
|
requests finish. */
|
||||||
|
discard_cleanups (old_cleanups);
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (step && gdbarch_software_single_step_p (gdbarch))
|
if (step && gdbarch_software_single_step_p (gdbarch))
|
||||||
|
Reference in New Issue
Block a user