This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Help about RSP command 'p'
- From: Wenbo Yang <wenbo dot yang at simplnano dot com>
- To: sync dot jma at gmail dot com
- Cc: gdb at sourceware dot org
- Date: Tue, 10 Jul 2007 17:50:20 +0800
- Subject: Re: Help about RSP command 'p'
- References: <1184054482.32608.ezmlm@sourceware.org>
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