📄 xds.err
字号:
#h
INTERRUPT (INT):
INTERRUPT [/R] cycle_count, level [,interrupt_vector]
The INTERRUPT command forces a simulated program interrupt
after the specified number of cycles have been executed. The
interrupt level must be between 1 and 7 inclusive; a maximum
of 16 interrupts can be pending. The maximum number allowed
for 'cycle_count' is (2**32)-1.
> int/r 432, 4, 0x40
#h
JOURNAL (J):
JOURNAL [/A] [OFF | ON="filename"]
The JOURNAL command copies command window output and
places it in a journal file, specified by 'filename'.
The default journal filename extension is ".jou".
Additional output can be added to the journal file by
printing to viewport 29. JOURNAL OFF terminates the
journal file. The '/A' switch allows appending to an
existing file. If no argument is given, the current
journal filename is displayed.
> j on = "ref\run14"
#h
LIST (L):
LIST [line_number | procedure_name | stack_level]
The LIST command (high-level mode only) displays C source
code in the code viewport beginning at the given line or
procedure. If no line number is given, the line pointed to
by the program counter is displayed. A line in another
module may be shown by prefixing the module name.
> l OUTCHRX\#4
#h
LOAD (LOA):
LOAD [/NS] [/NI] [/A] [/NP|/SP] absolute_filename
[, root] [& base_address] [; section1,...]
The LOAD command loads the specified object module into the
debugger. The /NS qualifier inhibits loading symbol
information; the /NI qualifier inhibits loading the image;
the /A qualifier appends the new file (the default is to
delete the old file, and start over); the /NP and /SP
qualifiers disable and enable setting the start PC.
[Press RETURN to continue]
#h
LOAD (continued):
The root argument specifies a different name for the root
of the symbol table. The base_address argument specifies a
bias to add to position independent programs. The section
name(s) are used to specify which image sections to load
(the default is all sections).
> load "ref\sieve"
#h
LOG (LOG):
LOG [/A] [OFF | ON="filename"]
The LOG command records user input and places it in a log
file, specified by 'filename'. The default log filename
extension is ".log". Commands issued but not successfully
completed, are written to the log file as comments along
with their error codes. This allows log files to be used
unmodified as include files. LOG OFF terminates the log
file. The '/A' switch appends to an existing file. If no
argument is given, the current log filename is displayed.
> log on = "ref\run14"
#h
MODE (M):
MODE [High | Assembly]
The MODE command selects either high-level mode or assembly-
level mode for debugging. If no parameters are specified,
the mode is toggled.
> mode assem
#h
MONITOR (MON):
MONITOR [/H | /S | /T] {expression | expression_range}
[;display_line | ;display_line_range] [,...]
The MONITOR command displays the specified expression(s) as
the target program is executing. Expressions are updated
each time the debugger stops executing the program. Up to
seventeen lines, selected by the range, are displayed.
The /H flag forces hexidecimal display; the /T flag forces
decimal display; the /S flag causes character arrays or
character pointers to display as strings.
> mon count;2, flags;4..5, k;1
#h
NEXT (N):
NEXT [/B]
The NEXT command continues the search in a high-level source
program for the string specified in the last FIND
command. When (and if) the string is found, the line con-
taining the string is displayed at the top of the code
viewport. The B option causes a backwards search.
> n/b
#h
NOICE (NOIC):
NOICE
Note: this command is used with emulators only.
The NOICE command exits ICE mode, and returns to the
debugger command mode.
> noice
#h
NOINTERRUPT (NOIN):
NOINTERRUPT [level]
The NOINTERRUPT command cancels all pending interrupts at
the indicated interrupt level. The interrupt level range is
from 1 to 7 inclusive. If no 'level' is used, all interrupts
are canceled.
> noin 3
#h
NOMEMACCESS (NOME):
NOMEMACCESS [address | addr_range] [{, | =}
{map | copy | target | unknown} [= bank_range]]
The NOMEMACCESS command specifies a memory location or range
of memory locations that are guarded against access during
execution of the target program. If no parameters are
specified, a memory map is displayed in the command
viewport. The 'map' and 'copy' sub-commands are used to map
the specified range to emulator memory, and 'copy' copies
the memory from target. The 'target' and 'unknown' sub-
commands are used to specify memory is in target or unknown.
> nome 0x4000..0xFFFF
#h
NOMONITOR (NOMO):
NOMONITOR [number | number_range]
The NOMONITOR command stops monitoring previously moni-
tored expressions. If NOMONITOR is used without parameters,
all monitored expressions are canceled.
> nomo 1..5
#h
OPTION (OP):
OPTION [option_name = {value | symbol}]
The OPTION command temporarily changes the default values
for the debugger startup options. OPTION without parameters
displays the state of all of the options. The debugger
option names are:
align - Adjusts breakpoint to instruction start (ON, OFF)
break - Controls break viewport display (ON, SWAP)
color - Sets the color monitor type (IBM, NOIBM, NONE)
[Press RETURN to continue]
#h
OPTION (continued):
cpu - Sets the CPU type (68000/08/10/12/20/30/40)
emulator - Specifies emulator connection string
framestop - Controls stack walking (ON, OFF)
highlight - Sets highlighting method (BRIGHT, INVERSE)
incecho - Controls echo of include files (ON, OFF)
lines - Mixes C source with assembly code (ON, OFF)
more - Controls page scrolling (ON, OFF)
radix - Interprets numbers as decimal or hex (DEC, HEX)
Display numbers as decimal/hex (OUTDEC, OUTHEX)
[Press RETURN to continue]
#h
OPTION (continued):
speed - Specifies the tracing speed (1-100)
stdio - Controls stdio screen display (ON, OFF, SWAP)
symbols - Displays symbols in assembly code (ON, OFF)
vpcolor - Sets the colors used on color monitors.
typecheck - Controls strictness of type checking (ON, OFF)
view - Controls view viewport display (ON, SWAP)
scroll - number of lines to scroll at a time (1-50)
> op stdio = swap
> op emul = "reset; clear symbols;"
#h
OUTPORT (OU):
OUTPORT [/B | /W | /L] port_address [,output_destination]
The OUTPORT command assigns an address to a simulated output
port and enables you to indicate where output data will be
written. The port address can be any valid address. The
output port writes data to one of the following destin-
ations:
[Press RETURN to continue]
#h
OUTPORT (continued):
c - Command viewport
std - Standard I/O screen
f=filename - Specified file
o[=value] - Output port buffer
i[=value] - Input port buffer
m=macro() - Specify macro call with args.
> out 3,f="dataout.fil"
#h
PAUSE (PA):
PAUSE [n]
The PAUSE command temporarily pauses simulation for the
specified number of seconds. If you do not indicate the
number of seconds, the pause remains until you press the
spacebar, <CTRL>-c, <ESC>.
> pa 4
#h
PRINTANALYSIS (PRA):
PRINTANALYSIS [/A | /B | /F | /L] [analyze-unit] [,vp]
[;{SUMMARY | NOTEXECUTED | FULL}]
The PRINTANALYSIS command displays the execution results
about the specified analyze-unit for on-line review or
off-line review. Switches /A for assembly instruction, /B
for branch (default), /F for function, /L for source line,
may be specified to display different types of test coverage
for the analyze-unit. The analyze-unit specifies a root
name, a module name or a function name (default is to the
current root '\').
[Press RETURN to continue]
#h
PRINTANALYSIS (continued):
The viewport specifies the command vp, log file, journal
file, or user defined vp for off line review. The default
display is to the scrollabled VIEW viewport for on-line
review. The amount of test coverage info. to be displayed
for analyze-unit can be controlled by parameters:
SUMMARY - execution summary result only (Default).
NOTEXECUTED - units not executed and summary result.
FULL - Detailed test coverage info. in high level source
listing (/B and /L only).
> pra
#h
PRINTF (PRINTF):
PRINTF "format_string" [[,arguments]...]
The PRINTF command prints formatted output to the command
viewport. Conversion characters are listed below.
c - single character e,E - scientific notation
d - decimal f - decimal fraction
g,G - e or f as appropriate u - unsigned decimal
h - source line number x,X - hexadecimal
m - instruction address % - output '%' as literal
s - character string v - use PRINTVALUE format
w - viewport contents
> printf "At line %d count is %d\n", @HLPC, count
#h
PRINTPROFILE (PRP):
PRINTPROFILE [/C | /D | /E | /F] [program-unit] [,vp]
The PRINTPROFILE command displays the profiling data
collected on the specified program-unit. Four types
of data can be displayed:
/F (default) displays the flat profile data.
/C displays the call graph profile.
/D displays the demand profile. Data is collected only
if the program-unit is defined for demand profiling.
/E displays the execution duration profile. Data is
collected only if the program-unit is defined for
duration profiling.
[Press RETURN to continue]
#h
PRINTPROFILE (CONTINUED):
The default program-unit is the current root (\).
By default, data is displayed in the scrollable VIEW
viewport for on-line review. Off-line review is
possible if the command viewport, log file, journal
file or a user defined viewport is specified to be the
output destination using the "vp" parameter.
> prp /c PROG\func
#h
PRINTSYMBOLS (PS):
PRINTSYMBOLS [/C | /D | /E | /F | /M | /R | /T | /W]
[symbol_name] [\ | *]
The PRINTSYMBOLS command displays symbols, including the
symbol's name, data type, storage class, and memory loca-
tion. All symbols are displayed by typing backslash (\).
If no argument is specified, the current scope is shown.
Options allow selection of:
C - functions and labels D - data and macros
E - errors/mismatches F - files (roots)
M - modules R - reserved/registers
T - types W - wide display (name only)
> ps/d SIEVEX\\
#h
PRINTTYPE (PT):
PRINTTYPE [symbol_name]
The PRINTTYPE command displays the complete data type
of a symbol as it might appear in the source language,
rather than in the lower-level form (address etc.)
displayed by PRINTSYMBOLS. PRINTTYPE knows and can
distinguish between C and C++ data types.
> pt StackDataClass
#h
PRINTVALUE (P):
PRINTVALUE [/H | /S | /T] {expression | expression_range}
The PRINTVALUE command prints expressions in the command
viewport. Expressions are printed according to their type.
The /H and /T flags force hexidecimal or decimal display
respectively, while the /S flag causes character arrays and
character pointers to display as strings.
> p @1\i
#h
PROFILE (PROF):
PROFILE [ON | OFF | CLEAR |
DEMAND = program-unit, time-range |
DURATION = program-unit, time-range |
EXCLUDE = program-unit[,program-unit ...] |
INCLUDE = program-unit[,program-unit ...]
The PROFILE command defines and controls the performance
analysis mechanism to collect profiling data for specified
program-units.
ON - enables profiling.
OFF - disables profiling.
CLEAR - discards all the current profiling data.
[Press RETURN to continue]
#h
PROFILE (CONTINUED):
DEMAND - collect demand profiling (time between
calls) on the program-unit. The time-range
in machine cycles is divided into 10 equal
intervals with underflow and overflow
buckets at both ends.
DURATION - collect duration profiling (time spend in
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -