This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Need Help with i960 simulator



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]