This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: target sim question
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: msarasa at fh-konstanz dot de
- Cc: gdb at sources dot redhat dot com, crossgcc at sources dot redhat dot com
- Date: Thu, 28 Nov 2002 12:41:56 -0500
- Subject: Re: target sim question
- References: <1038478406.3de5ec4655851@webmail.fh-konstanz.de>
How may I use this instruction? , actually I tried to execute "target sim" on
gdb's prompt, but I get the message :
(gdb) target sim
Error: Undefined target command: "sim". Try "help target".
It would appear that your target doesn't have a built-in simulator.
What should I do? I need to know how to use a simulator, than I want to
define my own simulator for a new processor. Any idea?
You'll need to implement a library that exports the interface described
in include/gdb/remote-sim.h. See the sim/* directory for examples.
Andrew