
Managing Data in a DISP (Display) Window
7-12
Once you open a DISP window, you may find that a displayed member is
another one of these types. This is how you identify the members that are
arrays, structures, or pointers:
A member that is an array looks like this
[. . .]
A member that is a structure looks like this
{. . .}
A member that is a pointer looks like an address
0x0000
You can display the additional data (the data pointed to or the members of the
array or structure) in additional DISP windows (these are referred to as
children). There are three ways to do this.
Use the DISP command again; this time,
expression must identify the member
that has additional data. For example, if the first expression identifies a struc-
ture named
str and one of str’s members is an array named f4, you can display
the contents of the array by entering this command:
disp str.f4
This opens a new DISP window that shows the contents of the array. If str has
a member named
f3 that is a pointer, you could enter:
disp *str.f3
This opens a window to display what str.f3 points to.
Here’s another method of displaying the additional data:
1) Point to the member in the DISP window.
2) Now click the left button.
Here’s the third method:
↑
↓
1) Use the arrow keys to move the cursor up and down in the list of members.
F9
2) When the cursor is on the desired field, press
F9
.
When the debugger opens a second DISP window, the new window may at
first be displayed on top of the original DISP window; if so, you can move the
windows so that you can see both at once. If the new windows also have
members that are pointers or aggregate types, you can continue to open new
DISP windows.
Summary of Contents for TMS320C6 Series
Page 10: ...x ...
Page 20: ...xx ...
Page 118: ...4 20 ...
Page 144: ...6 16 ...
Page 164: ...7 20 ...
Page 170: ...8 6 ...
Page 284: ...B 18 ...
Page 290: ...C 6 ...