mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 22:40:24 +00:00
* infrun.c (resume): Set right thread even if
stepping over breakpoint using software single step.
This commit is contained in:
parent
be9fd9f5fc
commit
e842223a72
@ -1,3 +1,8 @@
|
||||
2007-11-28 Vladimir Prus <vladimir@codesourcery.com>
|
||||
|
||||
* infrun.c (resume): Set right thread even if
|
||||
stepping over breakpoint using software single step.
|
||||
|
||||
2007-11-28 Nick Roberts <nickrob@snap.net.nz>
|
||||
|
||||
* mi/mi-cmd-var.c (print_varobj): Revert change from 2007-08-31.
|
||||
|
@ -605,7 +605,8 @@ a command like `return' or `jump' to continue execution."));
|
||||
resume_ptid = inferior_ptid;
|
||||
}
|
||||
|
||||
if (step && breakpoint_here_p (read_pc ())
|
||||
if ((step || singlestep_breakpoints_inserted_p)
|
||||
&& breakpoint_here_p (read_pc ())
|
||||
&& !breakpoint_inserted_here_p (read_pc ()))
|
||||
{
|
||||
/* We're stepping, have breakpoint at PC, and it's
|
||||
|
Loading…
Reference in New Issue
Block a user