This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: PRecord and hardware watchpoint
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.
>