MI: reporting of multiple breakpoints

Eli Zaretskii eliz@gnu.org
Sun Feb 19 21:55:00 GMT 2006


> Date: Sun, 19 Feb 2006 13:08:41 -0500
> From: Paul Koning <pkoning@equallogic.com>
> Cc: ghost@cs.msu.su, gdb@sources.redhat.com
> 
> My point is that, at least on some of the platforms, a watchpoint
> exception will deliver the PC of the instruction doing the store, or
> that PC can be deduced.

I think this happens on _all_ platforms that support watchpoints.

> Therefore, on such platforms, that is the PC that should be
> reported, which will make the report point to the right source line.

We already do precisely that.

Again, the place that caused the store is known (and shown to the
user), but the place where the inferior is stopped is a different
place on many architectures, including x86.  Wed are arguing about the
latter, not the former.



More information about the Gdb mailing list