target sim question

msarasa@fh-konstanz.de msarasa@fh-konstanz.de
Fri Nov 29 00:01:00 GMT 2002


You're right, my target doesn't have a built-in simulator, that's my task. 
I've to define the simulator for our processor, but first i want to know waht 
should I do to use a simulator (anyone). There are some yet-defined sims in 
the sim directory. Do you how could I use (just for trying) one of these 
simulator. E.G. I wanto to experiment first with the m68HC11 from motorola, I 
want to know which steps should I take to debug with that simulated target, 
than when I understand that , I would like to know the steps to define my own 
simulator.
Thank You!!
Reply me please!! I'm hooked! 


Zitat von Andrew Cagney <ac131313@redhat.com>:

> > 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
> 
> 






More information about the Gdb mailing list