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: new simulator as a new gdb target


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


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