Invoking the Debugger
2-18
2.9
Invoking the Debugger
Before invoking the debugger, check that the emulator is properly configured
and that the cable from the emulator to the PC host (if used) is properly con-
nected. The debugger will not operate unless the emulator is correctly con-
nected and turned on.
Here’s the basic format for the commands that invoke the debugger:
cdt370 [
filename] [–options]
cdt370
is the command that invokes the debugger. If you are using
Microsoft Windows, use cdt370w to invoke the debugger.
filename
is an optional parameter that names an object file that the
debugger will load into memory during invocation. The
debugger looks for the file in the current directory; if the file
isn’t in the current directory, you must supply the entire path-
name. If you don’t supply an extension for the filename, the
debugger assumes that the extension is .out.
–options
supply the debugger with additional information (Table 2–3
summarizes the available options).
You can also specify filename and option information with the D_OPTIONS
environment variable (see
Setting up the environment variables on page
2-11). Table 2–3 lists the debugger options; the subsections following the table
describe the options.
Table 2–3. Summary of the Debugger Options
Option
Brief description
–b[b]
Selects the screen size
–i
pathname
Identify additional directories
–a
address
Identify the add-on address
–p
serial port
Identify the serial port
–profile
Enter the profile environment (Windows version only)
–s
Load the symbol table only
–t
filename
Identify a new initialization file
–v
Load without the symbol table
–x
Ignore D_OPTIONS
Selecting the screen size (–b option)
By default, the debugger uses an 80-character-by-25-line screen. You can use
one of the options in Table 2–4 to specify a different screen size.
Summary of Contents for CDT370
Page 2: ...Printed in U S A October 1993 reprinted July 1995 2656911 9761 revision B SPNU133 ...
Page 14: ...1 4 ...
Page 36: ...2 22 ...
Page 44: ...3 8 ...
Page 52: ...5 2 ...
Page 54: ...6 2 ...
Page 70: ...8 10 ...
Page 76: ...9 6 ...
Page 78: ...10 2 ...
Page 82: ...Index 4 ...