Step 2: Setting Up The Debugger Environment - Motorola SCOUTTRAINER25 User Manual

Remote training system
Hide thumbs Also See for SCOUTTRAINER25:
Table of Contents

Advertisement

Step 2: Setting Up the Debugger Environment

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 . . .
Directory with executable files for
the C source debugger
Directory with debugger data files,
such as init.cmd and init.clr
Directory with the program source
files that you want to debug
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)
Options that you want to use every
time that you invoke the debugger
time that you invoke the debugger
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.
2-6
Use a statement with this format . . .
set path = (. / directory )
setenv D_DIR "/ directory "
setenv D_SRC "/ directory "
setenv DISPLAY " machinename "
setenv D_OPTIONS [ object filename ] [ options ]
[ 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

Advertisement

Table of Contents
loading

Table of Contents