
Modifying the Memory Map During a Debugging Session
5-10
5.6
Modifying the Memory Map During a Debugging Session
If you need to modify the memory map during a debugging session, use these
commands.
md
To delete a range of memory from the memory map, use the MD (memory
delete) command. The syntax for this command is:
md
address
-
The
address parameter identifies the starting address of the range of
memory. If you supply an
address that is not the starting address of a
range, the debugger displays this error message in the display area of the
COMMAND window:
Specified map not found
mr
If you want to delete all defined memory ranges from the memory map, use
the MR (memory reset) command. The syntax for this command is:
mr
This resets the debugger memory map.
ma
If you want to add a memory range to the memory map, use the MA (memory
add) command. The syntax for this command is:
ma
address, length, type
The MA command is described in detail on page 5-5.
Returning to the original memory map
If you modify the memory map, you may want to go back to the original memory
map without quitting and reinvoking the debugger. You can do this by resetting
the memory map and then using the TAKE command to read in your original
memory map from a batch file.
Suppose, for example, that you set up your memory map in a batch file named
mem.map. You can enter these commands to go back to this map:
mr
Reset the memory map
take mem.map
Reread the default memory map
The MR command resets the memory map. (Note that you could put the MR
command in the batch file, preceding the commands that define the memory
map.) The TAKE command tells the debugger to execute commands from the
specified batch file.
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...