beautypg.com

4 all-procedures breakpoint commands, 5 global breakpoint commands, Global breakpoint commands – HP gnu source-level debugger 5992-4701 User Manual

Page 263: All-procedures breakpoint commands

background image

Table 16-11 Overall breakpoint commands (continued)

Meaning

WDB Equivalent

XDB Command

Set a breakpoint count

bc number expr

(with -xdb),

ignorenumber expr

(within a

commands list)

bc number expr

Delete breakpoint at current line

clear

db

Delete breakpoint of the given
number

delete number

db number

Delete all breakpoints

delete

db *

Suspend breakpoint of the given
number

disable number

sb number

Suspend all breakpoints

disable

sb *

Suspend breakpoints in named
shared library

No equivalent

sb @shared- library

16.2.4 All-procedures breakpoint commands

GDB does not provide the ability to set breakpoints on all procedures with a single
command. Therefore, it does not have any equivalent of the following commands:

bp
bpt
bpx
dp
Dpt
Dpx

16.2.5 Global breakpoint commands

The following table lists the XDB and equivalent WDB commands for setting global
breakpoints:

Table 16-12 Global breakpoint commands

Meaning

WDB Equivalent

XDB Command

Set or delete cmds to execute at
every stop

No exact equivalent, but
display expr

is equivalent to

abc print expr

abc cmds

Stop displaying values at each stop

undisplay

dbc

16.2 Overall breakpoint commands

263