
Contents
xi
Contents
Part I: Hands-On Information
1
Overview of a Code Development and Debugging System
. . . . . . . . . . . . . . . . . . . . . . . . . .
Discusses features of the debugger, describes additional software tools, and tells you how to
invoke the debugger.
1.1
Description of the C Source Debugger
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Key features of the debugger
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2
Description of the Profiling Environment
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Key features of the profiling environment
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.3
Developing Code for the TMS320C6x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.4
Preparing Your Program for Debugging
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.5
Invoking the Debugger
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Selecting the screen size (–b, –bb options)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Clearing the .bss section (–c option)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Displaying the debugger on a different machine (–d option)
. . . . . . . . . . . . . . . . . . . . .
Identifying additional directories (–i option)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Selecting the minimal debugging mode (–min option)
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Entering the profiling environment (–profile option)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Loading the symbol table only (–s option)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Identifying a new initialization file (–t option)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Loading without the symbol table (–v option)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Ignoring D_OPTIONS (–x option)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.6
Exiting the Debugger
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.7
Debugging Your Programs
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2
An Introductory Tutorial to the C Source Debugger
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
This chapter provides a step-by-step introduction to the debugger and its features.
How to use this tutorial
A note about entering commands
An escape route (just in case)
Invoke the debugger and load the sample program’s object code
. . . . . . . . . . . . . . . . . . . . . . .
Take a look at the display
What’s in the DISASSEMBLY window?
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Select the active window
Resize the active window
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 ...