From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24927 invoked by alias); 21 Jun 2006 16:51:26 -0000 Received: (qmail 24909 invoked by uid 22791); 21 Jun 2006 16:51:23 -0000 X-Spam-Check-By: sourceware.org Received: from web80313.mail.yahoo.com (HELO web80313.mail.yahoo.com) (66.218.79.29) by sourceware.org (qpsmtpd/0.31) with SMTP; Wed, 21 Jun 2006 16:51:21 +0000 Received: (qmail 22711 invoked by uid 60001); 21 Jun 2006 16:51:20 -0000 Message-ID: <20060621165120.22709.qmail@web80313.mail.yahoo.com> Received: from [192.249.47.9] by web80313.mail.yahoo.com via HTTP; Wed, 21 Jun 2006 09:51:20 PDT Date: Wed, 21 Jun 2006 21:46:00 -0000 From: Ron McCall Subject: Re: Hacking gdbserver to capture instruction-level code coverage To: gdb@sourceware.org In-Reply-To: <20060621153102.GA5320@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00176.txt.bz2 --- Daniel Jacobowitz 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