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: mips and libgloss/mips/tx39 simulator questions



Joel Sherrill <joel.sherrill@OARcorp.com> writes:

: [...]
: I am trying to put together a simple RTEMS BSP based 
: on the tx39 code in libgloss.  [...]
: target sim --board=jmr3904pal \
:   --memory-region 0xffff8000,0x900 \
:   --memory-region 0xffffe000,0x4 \
:   --memory-region 0xb2100000,0x4 \
:   --memory-region=0x8800000,0x1000000
: [...]
: /usr1/rtems/build/build-mips-rtems/mips-rtems/jmr3904/tests/hello.exe 
: mips-core: 8 byte write to unmapped address 0x80009ff8 at 0x0

Well, what memory region is supposed to sit at 0x80009ff8?  It's hard
to help without some idea of what your BSP code assumes about the
target board; what the code was trying to do at the time (--trace).


: Also any comments on using what cpu models the simulator supports
: would be welcome.

See the "*cpu:" tags in the src/mips/*.igen files, the configure.in
target filtering lines, and perhaps some TARGET-run command-line
option.


- FChE

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