Debugging with GDB (February 2008)

Table Of Contents
Chapter 16: XDB to WDB Transition Guide 223
bi -C expr No equivalent Set an instance breakpoint at
first executable line of all non-
static member functions of the
instance’s class (base classes in-
cluded)
bpc -c class rb ^class::* Set a class breakpoint at first exe-
cutable line of all member func-
tions of the instance’s class (no
base classes)
bpc -C class Use rb ^class::* for base classes
also
Set a class breakpoint at first ex-
ecutable line of all member func-
tions of the class (base classes in-
cluded)
bpo proc rb proc Set breakpoints on overloaded
functions outside a class
bpo class::proc b class::proc Set breakpoints on overloaded
functions in a class
bt [depth] No equivalent Set trace breakpoint at proce-
dure at specified depth on pro-
gram stack
bt proc b proc commands bnum finish c
end
Set trace breakpoint at proc
bu [depth] bu [depth] (with -xdb). The
finish command is equivalent to
the sequence bu, c, db (to continue
out of the current routine).
Set up-level breakpoint
bx [depth] bx [depth] (with -xdb) Set a breakpoint at procedure exit
16.2.3 Breakpoint status commands
The following table lists the XDB and equivalent WDB commands for changing the
breakpoint status: