From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10806 invoked by alias); 10 Jul 2007 09:50:59 -0000 Received: (qmail 10798 invoked by uid 22791); 10 Jul 2007 09:50:58 -0000 X-Spam-Check-By: sourceware.org Received: from smtp103.biz.mail.re2.yahoo.com (HELO smtp103.biz.mail.re2.yahoo.com) (68.142.229.217) by sourceware.org (qpsmtpd/0.31) with SMTP; Tue, 10 Jul 2007 09:50:56 +0000 Received: (qmail 82007 invoked from network); 10 Jul 2007 09:50:53 -0000 Received: from unknown (HELO ?192.168.1.132?) (wenbo.yang@simplnano.com@211.101.21.42 with plain) by smtp103.biz.mail.re2.yahoo.com with SMTP; 10 Jul 2007 09:50:52 -0000 X-YMail-OSG: j3PgFGIVM1kwnCauBTS4_f4vx89RcILugXXHQVBCfb.Bf9xc2IMCY3vSkQuI5W22fVwBxlCzAprrKS5T1N4Q_O6O0X4- Message-ID: <4693565C.3050108@simplnano.com> Date: Tue, 10 Jul 2007 09:50:00 -0000 From: Wenbo Yang User-Agent: Thunderbird 1.5.0.12 (X11/20070604) MIME-Version: 1.0 To: sync.jma@gmail.com CC: gdb@sourceware.org Subject: Re: Help about RSP command 'p' References: <1184054482.32608.ezmlm@sourceware.org> In-Reply-To: <1184054482.32608.ezmlm@sourceware.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00072.txt.bz2 sync.jma@gmail.com wrote: > Can anyone told me why my cross-gdb send a 'p' rsp command to the > BDI2000? Could I select a lower-version > gdb to avoid this problem? From my experience, "p25" means it requests No.25 register. I think here it should be some key register like "sp" or "pc". "Embedding with GNU" is too old, you should refer to "Using GDB" and "GDB internal". They are official documents of GDB that you can download from: http://sourceware.org/gdb/download/onlinedocs/. "Using GDB" appendix D gives the full RSP Spec. Regards, Wenbo -- Wenbo Yang The State Key Lab. of Information Security Graduate School of CAS, 19A Yuquan Road, Beijing, China Homepage: http://solrex.cn SimpLight Nanoelectronics Ltd. 6 Zhichun Road, 10th Floor, Beijing, China Phone: +86-10-5126-6989 --- Email: wenbo.yang@simplnano.com