target sim question
Andrew Cagney
ac131313@redhat.com
Thu Nov 28 09:42:00 GMT 2002
> 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
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list