This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Help about RSP command 'p'


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]