PRecord and hardware watchpoint

Marc Khouzam marc.khouzam@ericsson.com
Fri Feb 19 13:51:00 GMT 2010


I got the latest HEAD and gave it a go.
Very cool!

Thanks both 

> -----Original Message-----
> From: gdb-owner@sourceware.org 
> [mailto:gdb-owner@sourceware.org] On Behalf Of Michael Snyder
> Sent: Thursday, February 18, 2010 1:16 PM
> To: Marc Khouzam
> Cc: 'gdb@sourceware.org'
> Subject: Re: PRecord and hardware watchpoint
> 
> Marc Khouzam wrote:
> > Hi,
> > 
> > someone asked me if watchpoints worked with Reverse 
> debugging (PRecord),
> > so I gave it a try.  What I found is that software 
> watchpoints work but
> > not hardware watchpoints.  That sounds reasonable to me.
> > 
> > What seemed strange was that hardware watchpoints did not work
> > even when doing normal forward execution with PRecord enabled.
> > I guess during replay it makes sense, but during record?
> > 
> > Just wondering.
> > 
> > Thanks
> > 
> > Marc
> > 
> > P.S. It would be nice to have some kinds of warning to tell user
> > not to set hw watchpoints when PRecord is being used.
> 
> Were you using the release or CVS version?
> CVS head should work.
> 



More information about the Gdb mailing list