Need Help with i960 simulator

Frank Ch. Eigler fche@redhat.com
Wed Feb 14 11:40:00 GMT 2001


Jim.Montville@nokia.com writes:

: [...]
: 1. I know that I have to define memory regions to the simulator, but I
: haven't a clue how to do this from within gdb. [...]

It's straightforward, though not obvious: from gdb, use
        (gdb) target sim OPTIONS
e.g.,   (gdb) target sim --memory-region 0x1000,0x5000
to set initialization-time settings like memory mappings, and
        (gdb) sim OPTIONS
for other settings.

: Am I on the wrong track with trying to use the i960 sim from within gdb?

Not at all.


- FChE



More information about the Gdb mailing list