|
From: | Devaughn, Hans |
Subject: | [Gdb] GDB/SIM |
Date: | Mon, 29 Sep 2003 10:06:48 -0700 |
I am running the GNU toolset. My target procesor is MIPS. I am invoking the simulator from gdb. The problem is that the image that is read in only creates memory regions for the text and data section. I am using VxWorks and VxWorks uses the space between the end of data and an address I have specified for the heap. If I try to run and VxWorks references that memory I get a fault.
My question/problem is that I am trying to use the following command to create the meory region for this space
Sim memory-region $start,$area
The command is not accepted by sim. Howerver, if I print out $start and $area the command is accepted and works correctly.
The variable $start is the first location after the end of data. I have created this variable as follows
Set variable $start=_end
The variable $area=0x80400000-$start
Could someone shed light on my problem or is there a limitation on passing variable data from gdb to sim?
Thanks for your help in advance.
Hans DeVaughn
[Prev in Thread] | Current Thread | [Next in Thread] |