new simulator as a new gdb target

Wenbo Yang solrex@gmail.com
Fri May 18 03:52:00 GMT 2007


Dave,

> thanx for your reply...
> Does any exist "gdbserver-like" template can let me do this job?
> or, where do I find those files?
Actually it is very easy to write. It uses RSP protocol to communicate
with GDB, more like a RSP packet translator. It understands RSP
packets that GDB sends to it, then acts using your simulator's
interface, then sends GDB the result. It is really like a stub, but
can do more thing because it is part of your simulator.

For more you can refer to Skyeye project, an open source simulator. I
can not remember the file name. But you can search "*gdb*" in the
source files. It is easy to find.

Regards,

Wenbo

-- 
Wenbo Yang

Student
Department of Mathematics, Nanjing Univ. 22 Hankou Road, Nanjing, China
Mobile: +86-013655175286  ---  Personal Email: solrex@gmail.com
MSN: solrex@live.com  ---  Homepage: http://www.solrex.cn

Intern Software Engineer
SimpLight Nanoelectronics Ltd. 6 Zhichun Road, 10th Floor, Beijing, China
Phone: +86-10-5126-6989 ext.110  ---  Email: wenbo.yang@simplnano.com



More information about the Gdb mailing list