This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] GDB patches for hw watchpoints - revised
On Sat, Dec 10, 2005 at 12:46:36PM +0800, Wu Zhou wrote:
> On Fri, 9 Dec 2005, Daniel Jacobowitz wrote:
>
> > On Fri, Dec 09, 2005 at 10:25:33AM +0800, Wu Zhou wrote:
> > > Currently what stored in the siginfo.si_addr is the address of next
> > > instruction. Anton sent me a patch to change that to the data address
> > > instead. I am now playing with the patched kernel.
> > >
> > > BTW. It seems that to_stopped_data_address is only used in rwatch and
> > > awatch, which is not that frequently used as watch itself. So may we
> > > postpone its implementation till some later time?
> >
> > No, let's get it right the first time. rwatch is extremely valuable,
> > and it sounds like you're having to play with ABI changes to get it to
> > work.
>
> OK. I will try to make it right the first time. :-)
>
> And can you elaborate on the statement that I am having to play with ABI
> changes to get it to work? It seems that you must find something
> noticeable, right? If so, please point out. Thanks.
I was just talking about Anton's kernel patch. If you're still
changing the kernel to make it work, it's not quite done yet.
--
Daniel Jacobowitz
CodeSourcery, LLC