Table 16-10 Breakpoint creation commands (continued)

XDB Command

WDB Equivalent

Meaning

bpc -c class

rb ^class::*

Set a class breakpoint at first

 

 

executable line of all member

 

 

functions 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- ecutableUse rb ^class::* for base classes also line of all member functions of the class (base classes included).

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 procedure

 

 

at specified depth on program

 

 

stack.

bt proc

b proc commands bnum

Set trace breakpoint at proc.

 

finish c end

 

bu [depth]

bu [depth] (with -xdb).

Set up-level breakpoint.

 

The finish command is

 

 

equivalent to the sequence bu,

 

 

c, db (to continue out of the

 

 

current routine).

 

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:

Table 16-11 Overall breakpoint commands

XDB Command

WDB Equivalent

Meaning

ab number

enable number

Activate suspended breakpoint of

 

 

the given number

ab *

enable

Activate all suspended break-

 

 

points

ab @shared- library

No equivalent

Activate suspended breakpoints

 

 

in named shared library

262 XDB to WDB Transition Guide

Page 262
Image 262
HP gnu source-level debugger 5992-4701 manual Breakpoint status commands, Overall breakpoint commands