[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gdb] Re: PowerPC GDB memory mapping
From: |
Ben Elliston |
Subject: |
[Gdb] Re: PowerPC GDB memory mapping |
Date: |
08 Feb 2004 22:39:55 +1100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
"Devaughn, Hans" <address@hidden> writes:
> I a trying to simulate a PowerPC embedded target image in gdb. The
> code executes fine until it tries to access memory outside of the
> normal sections (.text, .data, .data, .etc). If it tries to access a
> memory location valid, un"load"ed memory location (i.e. I/O, Flash,
> etc.) it get a Program Section Fault. Does anyone have any ideas on
> for the gdb commands to map this memory?
You need to use the gdb "sim" command to send a simulator-specific
command to the simulator to add the memory region. The syntax seems
to vary from sim to sim.
Ben