Step 2: Setting Up the Debugger Environment
2-6
2.3
Step 2: Setting Up the Debugger Environment
To ensure that your debugger works correctly, you must identify the items that
are listed in Table 2–1. You specify this information in your shell configuration
file in your home directory (for example, the .cshrc file for a C shell). After modi-
fying your shell configuration file, you must reinitialize it.
Table 2–1. Debugger Environment Variables
To identify . . .
Use a statement with this format . . .
Directory with executable files for
the C source debugger
set path = (. /
directory)
Directory with debugger data files,
such as
init.cmd and init.clr
setenv D_DIR ”/
directory”
Directory with the program source
files that you want to debug
setenv D_SRC ”/
directory”
For an X Window system, display
the debugger on a different ma-
chine (see Section 2.5,
Using the
Debugger With the X Window Sys-
tem, on page 2-9)
setenv DISPLAY ”
machinename”
Options that you want to use every
time that you invoke the debugger
setenv D_OPTIONS [
object filename] [options ]
time that you invoke the debugger
[
object filename]
Names the file that you want to load every time that
you invoke the debugger.
[
options]
Initialization options; for more information, see the
TMS320C2xx C Source Debugger User’s Guide.
–b
Selects a screen size of 80 characters by 43 lines
(EGA or VGA)
–bb
Selects a screen size of 80 characters by 50 lines
(VGA only)
–d
machine
For an X Window system, display the debugger on
a different machine. Use instead of the DISPLAY
environment variable.
–i
pathname
Identifies additional directories
–mv
version
Specifies the memory map to use with the simulator
–profile
Allows you to enter the profiling environment
–s
Loads only the symbol table for a named object file
–t
filename
Identifies a new initialization file
–v
Loads the object code with a minimal symbol table
Note:
When you invoke the debugger, you can include –x on the command line to override any D_OPTIONS in the initialization
file or in your autoexec.bat file.
Summary of Contents for SCOUTTRAINER25
Page 1: ...TMS320C2xx Simulator Getting Started Guide 1996 Microprocessor Development Systems ...
Page 2: ...Printed in U S A April 1996 D412015 9741 revision SPRU176 ...
Page 3: ...TMS320C2xx Simulator Getting Started Guide SPRU176 April 1996 Printed on Recycled Paper ...
Page 6: ...vi ...
Page 18: ...1 10 ...
Page 44: ...Index 6 ...