Download TMS320C3x C SOURCE DEBUGGER USER'S GUIDE

Transcript
Managing Data in Memory
7.4 Managing Data in Memory
In mixed and assembly modes, the debugger maintains a MEMORY window
that displays the contents of memory. For details concerning the MEMORY
window, see the MEMORY windows discussion (page 3-12).
MEMORY
addresses
000000
0000004b
00000040
00000041
00000042
000005
00000043
00000044
00000045
00000046
00000a
00000047
00000048
00000049
0000004a
00000f
00000000
00000000
00000000
00000000
000014
00000000
00000000
00000000
00000000
000019
00000000
00000000
00000000
00000000
data
The debugger has commands that show the data values at a specific location
or that display a different range of memory in the MEMORY window. The debugger allows you to change the values at individual locations; refer to Section
7.3 (page 7-4), for more information.
Displaying memory contents
The main way to observe memory contents is to view the display in a
MEMORY window. Four MEMORY windows are available: the default window
is labeled MEMORY, and the three additional windows are called MEMORY1,
MEMORY2, and MEMORY3. Notice that the default window does not have an
extension number in its name; this is because MEMORY1, MEMORY2, and
MEMORY3 are pop-up windows that can be opened and closed throughout
your debugging session. Having four windows allows you to view four different
memory ranges.
The amount of memory that you can display is limited by the size of the individual MEMORY windows (which is limited only by the screen size). During a debugging session, you may need to display different areas of memory within a
window. You can do this by typing a command or using the mouse.
7-6