System Debug Reference Manual MPE/iX 5.0 Documentation
System Debug Reference Manual
Table of Contents
System Debug Reference Manual
System Debug Reference Manual : COPYRIGHT NOTICE
Introduction
What is Debug?
What is the Dump Analysis Tool (DAT)?
What is the Standalone Analysis Tool (SAT)?
How to Debug
User Interface
Command Line Overview
Data Types
Literals
Operators
Expressions
Operator Precedence
Variables
Environment Variables
Predefined Functions
Macros
Procedure Name:symbols
Operand Lookup Precedence
Command Line Substitutions
Aliases
Command Lookup Precedence
Error Handling
Control-Y
Command History, REDO
Debug Input/Output - The System Console
Automatic DBUGINIT Files
System Debug Interfaces Commands & Intrinsics
Debug Interfaces
Debug Command and Intrinsic Descriptions
:DEBUG command
:RESETDUMP command
:SETDUMP command
DEBUG intrinsic
HPDEBUG intrinsic
HPRESETDUMP intrinsic
HPSETDUMP intrinsic
RESETDUMP intrinsic
SETDUMP intrinsic
STACKDUMP intrinsic
STACKDUMP' Intrinsic
System Debug Command Specifications
System Debug Command Specifications
:
=
ABORT
ALIAS
ALIASD[EL]
ALIASINIT
ALIASL[IST]
B (break)
BD
BL
CLOSEDUMP
CM
CMDL[IST]
CMG
C[ONTINUE]
D (display)
DATAB
DATABD
DATABL
DEBUG
DELETExxx
DEMO
DIS
DO
DPIB
DPTREE
DR
DUMPINFO
ENV
ENV (continued)
ENVL[IST]
ERR
ERRD[EL]
ERRL[IST]
E[XIT]
Fx (format)
Fmm (freeze)
FINDPROC
FOREACH
FPMAP
FUNCL[IST]
GETDUMP
H[ELP]
HIST[ORY]
IF
IGNORE
INITxx
KILL
LEV
LIST
LISTREDO
LOADINFO
LOADPROC
LOC
LOCL[IST]
LOG
M (modify)
MAC[RO]
MACD[EL]
MACECHO
MACL[IST]
MACREF
MACTRACE
MAP
MAPL[IST]
MPSW
MR
NM
OPENDUMP
PAUSE
PIN
PROCLIST
PURGEDUMP
REDO
REGLIST
RESTORE
RET[URN]
SET
SETxxx
SHOWxxx
S, SS
STORE
SYMCLOSE
SYMF[ILES]
SYMINFO
SYML[IST]
SYMOPEN
SYMPREP
T (translate)
TERM
TR[ACE]
TRAP
UF
UNMAP
UPD
USE
VAR
VARD[EL]
VARL[IST]
W (write)
WHELP
WHILE
XL
XLD
XLL
Symbolic Formatting Symbolic Access
Creating and Accessing Symbol Definitions
The Path Specification
Using the Symbolic Formatter
Using Symbolic Access
System Debug Windows
A Typical Screen Display of CM Windows
A Typical Screen Display Of NM Windows
Window Operations
Window Updates
Window Real/Virtual Modes
R - The CM Register Window
Gr - The NM General Registers Window
Sr - The NM Special Registers Window
P (cmP) - The CM Program Window
P (nmP) - The NM Program Window
Program Windows for Object Code Translation
Q - The CM Stack Frame Window
S - The CM Stack Window
G - The Group (of User) Window
The Command Window
U - The User Windows
V - The Virtual Windows
Z - The Memory Window
L - The LDEV Window
TX- The Text Windows
System Debug Window Commands
RED
WDEF
WGRP
WOFF
WON
wB
wC
wD
wE
wF
wH
wI
wJ
wK
wL
wM
wN
wR
wS
UWm
wW
System Debug Standard Functions
func abstolog
func asc
func ascc
func bin
func bitd
func bitx
func bool
func bound
func btow
func cisetvar
func civar
func cmaddr
func cmbpaddr
func cmbpindex
func cmbpinstr
func cmentry
func cmg
func cmnode
func cmproc
func cmproclen
func cmseg
func cmstackbase
func cmstackdst
func cmstacklimit
func cmstart
func cmtonmnode
func cmva
func cst
func cstx
func dstva
func errmsg
func grp
func hash
func lgrp
func logtoabs
func lptr
func lpub
func ltolog
func ltos
func macbody
func mapindex
func mapsize
func mapva
func nmaddr
func nmbpaddr
func nmbpindex
func nmbpinstr
func nmcall
func nmentry
func nmfile
func nmmod
func nmnode
func nmpath
func nmproc
func nmstackbase
func nmstacklimit
func nmtocmnode
func off
func pcb
func pcbx
func phystolog
func pib
func pibx
func prog
func pstate
func pub
func rtov
func s16
func s32
func s64
func sid
func sptr
func stol
func stolog
func str
func strapp
func strdel
func strdown
func strextract
func strinput
func strins
func strlen
func strltrim
func strmax
func strpos
func strrpt
func strrtrim
func strup
func strwrite
func symaddr
func symconst
func syminset
func symlen
func symtype
func symval
func sys
func tcb
func trans
func typeof
func u16
func u32
func user
func vainfo
func vtor
func vtos
Dump Analysis Tool (DAT)
run dat; info=' cmd1, cmd2, cmd3 '
Automatic DATINIT Files
DAT Limitations
How to Get Started with DAT
How to Get Started with the DAT Macros
Standalone Analysis Tool (SAT)
Invoking SAT
Getting Started With SAT
SAT Restrictions
Patterns and Regular Expressions
Literal Expressions (Match Exactly These Characters)
Metacharacters
Character Classes (Match Any One of the Following Characters)
Expression Closure (Match Zero or More of the Previous Expression)
Technical Summary
Expression Diagrams
Emulated/Translated CM Code
Debugging Emulated CM Code
Object Code Translation
Node Points in Translated Code
Executing a Translated Section
The Node Functions
CM Breakpoints in Translated Code
NM Breakpoints in Translated Code
Examples: CM Breakpoints in Translated Code
Examples: Program Windows for Translated Code
Reserved Variables/Functions
System Debug Command Summary
MPE/iX 5.0 Documentation