This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Hacking gdbserver to capture instruction-level code coverage
- From: Ron McCall <ronald dot mccall at snet dot net>
- To: gdb at sourceware dot org
- Date: Wed, 21 Jun 2006 09:51:20 -0700 (PDT)
- Subject: 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