This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MI: reporting of multiple breakpoints


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]