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: Hacking gdbserver to capture instruction-level code coverage


--- Daniel Jacobowitz <drow@false.org> wrote:
> At this point you've lost me.
> 
> The PPC 'g' packet contains r0-r31, f0-f31, pc, ps,
> cr, lr, ctr, xer,
> and fpscr.  The BAT registers aren't involved at
> all; I don't even
> think they're usable from userspace.

Oops, I made a mistake decoding the registers...FPRs
are 64 bits each, not 32 bits!  Gotta go back and
re-examine the correctly decoded registers to see
what's different for real this time.  Thanks for
pointing out that stupid error.

> Evil but functional, as long as you're being careful
> to not lose track
> of signals.

I believe I am not losing any signals except for the
intermediate SIGTRAPs resulting from repeated single
steps (all but the last one).

Ron


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