Debugging with GDB Manual (5900-1473; WDB 6.2; January 2011)

Table Of Contents
Table 12 Breakpoint creation commands (continued)
MeaningHP WDB EquivalentXDB Command
Set an instance breakpoint at first
executable line of all non- static
member functions of the instance's
class (base classes included).
No equivalentbi -C expr
Set a class breakpoint at first
executable line of all member
functions of the instance's class (no
base classes).
rb ^class::*bpc -c class
Set a class breakpoint at first ex-
ecutableUse rb ^class::* for base
classes also line of all member
functions of the class (base classes
included).
Use rb ^class::* for base
classes also
bpc -C class
Set breakpoints on overloaded
functions outside a class.
rb procbpo proc
Set breakpoints on overloaded
functions in a class.
b class::procbpo class::proc
Set trace breakpoint at procedure
at specified depth on program
stack.
No equivalentbt [depth]
Set trace breakpoint at proc.b proc commands bnum
finish c end
bt proc
Set up-level breakpoint.bu [depth] (with -xdb).
The finish command is
equivalent to the sequence bu,
c, db (to continue out of the
current routine).
bu [depth]
Set a breakpoint at procedure exit.bx [depth] (with -xdb)bx [depth]
16.2.3 Breakpoint status commands
The following table lists the XDB and equivalent HP WDB commands for changing the
breakpoint status:
Table 13 Overall breakpoint commands
MeaningHP WDB EquivalentXDB Command
Activate suspended breakpoint of
the given number
enable numberab number
Activate all suspended break- pointsenableab *
16.2 Overall breakpoint commands 265