HP (Hewlett-Packard) 5992-4701 Computer Hardware User Manual


 
Table 16-18 Special language operators
MeaningWDB EquivalentXDB Language Operator
Unary operator, address of objectDepends on language
$addr
Unary Boolean operator, execution
in procedure
No equivalent
$in
Unary operator, size of objectsizeof
$sizeof
16.6 XDB special variables and HP WDB equivalents
GDB does not provide special variables of the kind that XDB has, but you can use show
and set to display and modify many debugger settings.
Table 16-19 Special variables
MeaningWDB EquivalentXDB Special Variable
C++ feature control flagsNo equivalent
$cplusplus
Default stack depth for local
variables
No equivalent
$depth
Treat FPA sequence as one
instruction
No equivalent
$fpa
Address register for FPA
sequences
No equivalent
$fpa_reg
Current language for expression
evaluation
show language
$lang
Current source line numberNo equivalent
$line
Debugger memory allocation
(bytes)
No equivalent
$malloc
Display mode for character dataNo equivalent
$print
Hardware registers
$regname$regname
Return value of last command line
procedure call
Use $n (value history number
assigned to the desired result)
$result
Current child procedure signal
number
No equivalent
$signal
Number of instructions debugger
will step in non-debuggable
procedures before free-running
No equivalent
$step
Dene or use special variable
(convenience variable)
$var$var
16.6 XDB special variables and HP WDB equivalents 269