From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21405 invoked by alias); 10 Jul 2007 08:42:46 -0000 Received: (qmail 21393 invoked by uid 22791); 10 Jul 2007 08:42:45 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 10 Jul 2007 08:42:43 +0000 Received: from kahikatea.snap.net.nz (128.60.255.123.dynamic.snap.net.nz [123.255.60.128]) by viper.snap.net.nz (Postfix) with ESMTP id 9FCD93D9F2B; Tue, 10 Jul 2007 20:42:40 +1200 (NZST) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 1AC228FBF6; Tue, 10 Jul 2007 20:42:37 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18067.18044.643449.64358@kahikatea.snap.net.nz> Date: Tue, 10 Jul 2007 08:42:00 -0000 To: "Sync ma" Cc: gdb@sourceware.org Subject: Re: Help about RSP command 'p' In-Reply-To: References: X-Mailer: VM 7.19 under Emacs 22.1.50.12 X-IsSubscribed: yes 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/msg00071.txt.bz2 > I have referenced Embedding with GNU: the gdb Remote Serial > Protocol, 11/99, but I found no description > about rsp command 'p', and there even has no handler functions in > gdbserver: server.c: main(). I can't help you with your problem but the info manual that comes with GDB (Debugging with GDB) has a node which describes the Remote Serial Protocol e.g `p N' Read the value of register N; N is in hex. *Note read registers packet::, for a description of how the returned register value is encoded. Reply: `XX...' the register's value `E NN' for an error `' Indicating an unrecognized QUERY. -- Nick http://www.inet.net.nz/~nickrob