This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Need Help with i960 simulator
- To: Jim dot Montville at nokia dot com
- Subject: Re: Need Help with i960 simulator
- From: fche at redhat dot com (Frank Ch. Eigler)
- Date: 14 Feb 2001 14:40:31 -0500
- Cc: gdb at sourceware dot cygnus dot com
- References: <BF2E0B2E7B94D211B31E0008C7EAB9DB04575FA7@daeis03nok>
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