HP gnu source-level debugger 5992-4701 manual Signal control commands, Miscellaneous commands

Models: gnu source-level debugger 5992-4701

1 369
Download 369 pages 58.54 Kb
Page 265
Image 265

Table 16-13 Macro facility commands

XDB Command

WDB Equivalent

Meaning

def name replacement-text

def name [GDB prompts for

Define a user-defined command

 

commands]

 

tm

No equivalent

Toggle the macro substitution

 

 

mechanism

undef name

def name [follow with empty

Remove the macro definition for

 

command list]

name

undef *

No equivalent

Remove all macro definitions

16.2.9 Signal control commands

The following table lists the XDB and equivalent WDB commands for signal control:

Table 16-14 Signal control commands

XDB Command

WDB Equivalent

Meaning

lz

lz (with -xdb),info signals

List signal handling

z number s

z number s (with -xdb),

Toggle stop flag for signal number

 

handle numberstop, handle

 

 

number nostop

 

z number i

z number i (with -xdb),

Toggle ignore flag for signal

 

handle numbernopass,

number

 

handle number pass

 

z number r

z number r (with -xdb),

Toggle report flag for signal

 

handle number print,

number

 

handle number noprint

 

z number Q

z number Q (with -xdb),

Do not print the new state of the

 

handle number noprint

signal

16.2.10 Miscellaneous commands

Some of the additional XDB and the equivalent WDB commands are discussed below:

Table 16-15 Miscellaneous commands

XDB Command

WDB Equivalent

Meaning

Return

Return

Repeat previous command

~

Return

Repeat previous command

;

No equivalent (one command per

Separate commands in command

 

line in command list)

list

16.2 Overall breakpoint commands 265

Page 265
Image 265
HP gnu source-level debugger 5992-4701 manual Signal control commands, Miscellaneous commands, Macro facility commands