This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Question about solaris CANNOT_STEP_HW_WATCHPOINTS macro
- From: "Pieter Maljaars" <pieter dot maljaars at altenpts dot nl>
- To: "Pedro Alves" <pedro at codesourcery dot com>
- Cc: "Joel Brobecker" <brobecker at adacore dot com>, "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>, Peter dot Schauer at regent dot e-technik dot tu-muenchen dot de, gdb at sourceware dot org, "'Joseph S. Myers'" <joseph at codesourcery dot com>
- Date: Fri, 23 Apr 2010 16:03:53 +0200
- Subject: Re: Question about solaris CANNOT_STEP_HW_WATCHPOINTS macro
- Reply-to: pieter dot maljaars at altenpts dot nl
> (I assume this was x86 or x86-64 solaris, not sparc.)
Yes, it's x86. I forgot to mention it.
> _don't_ remove the CANNOT_STEP_HW_WATCHPOINT, then I suppose
> you'll see watchpoints being missed when you step (since
> the workaround works by removing watchpoints
> when single-stepping) on Solaris 10 as well.
That's correct. The watchpoints are missed when stepping. If
I use "continue", GDB stops at the watchpoints.
Pieter