This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/9070] single step after hw watchpoint doesn't honor SOFTWARE_SINGLE_STEP_P
- From: "pedro at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 24 Nov 2009 12:59:38 -0000
- Subject: [Bug breakpoints/9070] single step after hw watchpoint doesn't honor SOFTWARE_SINGLE_STEP_P
- References: <20050705205800.9070.pkoning@equallogic.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.