public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/9070] single step after hw watchpoint doesn't honor SOFTWARE_SINGLE_STEP_P
[not found] <20050705205800.9070.pkoning@equallogic.com>
@ 2009-11-24 12:59 ` pedro at codesourcery dot com
0 siblings, 0 replies; only message in thread
From: pedro at codesourcery dot com @ 2009-11-24 12:59 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From pedro at codesourcery dot com 2009-11-24 12:59 -------
This was fixed a few months ago, a bit differently. Calling resume as the
problem that resumes all threads, not just the thread that
is "stepping over" the watchpoint. Current code:
if (!target_have_steppable_watchpoint)
remove_breakpoints ();
/* Single step */
hw_step = maybe_software_singlestep (gdbarch, stop_pc);
target_resume (ecs->ptid, hw_step, TARGET_SIGNAL_0);
waiton_ptid = ecs->ptid;
if (target_have_steppable_watchpoint)
infwait_state = infwait_step_watch_state;
else
infwait_state = infwait_nonstep_watch_state;
prepare_to_wait (ecs);
return;
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=9070
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-11-24 12:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20050705205800.9070.pkoning@equallogic.com>
2009-11-24 12:59 ` [Bug breakpoints/9070] single step after hw watchpoint doesn't honor SOFTWARE_SINGLE_STEP_P pedro at codesourcery dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).