Debugging with GDB (February 2008)

Table Of Contents
Chapter 16: XDB to WDB Transition Guide 233
$step No equivalent Number of instructions debugger
will step in non-debuggable pro-
cedures before free-running
$var $var Define or use special variable (con-
venience variable)
16.7 XDB variable identifiers and HP WDB equivalents
XDB Variable Identifier WDB Equivalent Meaning
var var Search for var
class::var class::var Search class for var (bug: not yet)
[[class]::]proc:[class::]var proc::var Search proc for var (static vari-
ables only)
[[class]::]proc:depth:[class::]No equivalent Search proc for depth on stack
. (dot) Empty string; for exam-
ple, p is the equivalent of
p .
Shorthand for last thing you
looked at
:var or ::var ::var to distinguish a
global from a local vari-
able with same name
Search for global variable only
16.8 Alphabetical lists of XDB commands and HP WDB
equivalents
Section 16.8.1 [A], page 234.
Section 16.8.2 [B], page 234.
Section 16.8.3 [C though D], page 236.
Section 16.8.4 [F through K], page 237.
Section 16.8.5 [L], page 238.
Section 16.8.6 [M through P], page 239.
Section 16.8.7 [Q through S], page 240.
Section 16.8.8 [T], page 242.