This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: simulated target
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: msarasa at fh-konstanz dot de
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 19 Nov 2002 12:05:36 -0500
- Subject: Re: simulated target
- References: <1037719608.3dda5838bc0ca@webmail.fh-konstanz.de>
I have to make Gdb work with a simulated target instead of with the real
target that works now. What should I do, tell me please the steps I may follow
in order to change the real target that we use now via serial link for a
simulated target . I have the simulator , but i've no idea how to begin. Does
anybody have done that yet? could i see some code? or , how to begin? It's
very important, please, i need that for my Thesis.
Vielen Dank, Thank you very much
Look at the interface defined in:
src/include/gdb/remote-sim.h
you will need to implement those methods. As for examples, have a look
at the src/sim directory. You'll notice that some share a common
framework (mn10300, mips, ...) but some to not (sh, mn10200, h8, ...)
Andrew