* Need Help with i960 simulator
@ 2001-02-12 12:57 Jim.Montville
2001-02-14 11:40 ` Frank Ch. Eigler
0 siblings, 1 reply; 2+ messages in thread
From: Jim.Montville @ 2001-02-12 12:57 UTC (permalink / raw)
To: gdb
I'm trying to use the i960 simulator that came with gdb-5.0, and I believe I
have it all configured and built properly (--target=i960-sim-coff), but I
have some fundamental 'newbie' issues:
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. Without memory regions
defined, I can load a i960 coff executable, and specify 'target sim', but if
I run or single step, I get a segmentation fault.
2. I have been somewhat successfull with run.exe which was built when I
built gdb. That's where I learned about the options to i960 sim,
specifically the --regions command line option.
Am I on the wrong track with trying to use the i960 sim from within gdb?
Does i960 sim only exist as a standalone application?
Thanks in advance. Any help that anyone can offer will be appreciated.
Jim Montville
Nokia Networks
jim.montville@nokia.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Need Help with i960 simulator
2001-02-12 12:57 Need Help with i960 simulator Jim.Montville
@ 2001-02-14 11:40 ` Frank Ch. Eigler
0 siblings, 0 replies; 2+ messages in thread
From: Frank Ch. Eigler @ 2001-02-14 11:40 UTC (permalink / raw)
To: Jim.Montville; +Cc: gdb
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-02-14 11:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-12 12:57 Need Help with i960 simulator Jim.Montville
2001-02-14 11:40 ` Frank Ch. Eigler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).