Table 16-11 Overall breakpoint commands (continued)

XDB Command

WDB Equivalent

Meaning

bc number expr

bc number expr (with -xdb),

Set a breakpoint count

 

ignorenumber expr (within a

 

 

commands list)

 

db

clear

Delete breakpoint at current line

db number

delete number

Delete breakpoint of the given

 

 

number

db *

delete

Delete all breakpoints

sb number

disable number

Suspend breakpoint of the given

 

 

number

sb *

disable

Suspend all breakpoints

sb @shared- library

No equivalent

Suspend breakpoints in named

 

 

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

 

XDB Command

WDB Equivalent

Meaning

abc

cmds

No exact equivalent, but

Set or delete cmds to execute at

 

 

display expr is equivalent to

every stop

 

 

abc print expr

 

dbc

 

undisplay

Stop displaying values at each stop

16.2 Overall breakpoint commands 263

Page 263
Image 263
HP gnu source-level debugger 5992-4701 manual All-procedures breakpoint commands, Global breakpoint commands