From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11195 invoked by alias); 10 Jul 2007 17:55:19 -0000 Received: (qmail 11186 invoked by uid 22791); 10 Jul 2007 17:55:19 -0000 X-Spam-Check-By: sourceware.org Received: from b.mail.sonic.net (HELO b.mail.sonic.net) (64.142.19.5) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 10 Jul 2007 17:55:17 +0000 Received: from webmail.sonic.net (b.webmail.sonic.net [64.142.100.148]) by b.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id l6AHtEMG012620; Tue, 10 Jul 2007 10:55:14 -0700 Received: from 12.7.175.2 (SquirrelMail authenticated user msnyder) by webmail.sonic.net with HTTP; Tue, 10 Jul 2007 10:55:14 -0700 (PDT) Message-ID: <20346.12.7.175.2.1184090114.squirrel@webmail.sonic.net> Date: Tue, 10 Jul 2007 17:55:00 -0000 Subject: Re: Help about RSP command 'p' From: msnyder@sonic.net To: gdb@sourceware.org Cc: sync.jma@gmail.com User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-07/txt/msg00077.txt.bz2 > Sending packet: $p25#d7...Ack > Packet received: E02 There are two things this error might mean: 1) Register #25 not recognized (or perhaps not available), or 2) 'p' request not recognized. Many gdb remote agents/stubs do not implement the 'p' request. The correct way for them to acknowledge this is with an empty reply (not an error code), but who knows... One way to sidestep the issue would be to simply request all of the regs (with the 'g' request), and extract the one you want.