beautypg.com

9 signal control commands, 10 miscellaneous commands, Macro facility commands – HP gnu source-level debugger 5992-4701 User Manual

Page 265: Signal control commands, Miscellaneous commands, Table 16-13 macro facility commands

background image

Table 16-13 Macro facility commands

Meaning

WDB Equivalent

XDB Command

Define a user-defined command

def name

[GDB prompts for

commands]

def name replacement-text

Toggle the macro substitution
mechanism

No equivalent

tm

Remove the macro definition for
name

def name

[follow with empty

command list]

undef name

Remove all macro definitions

No equivalent

undef *

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

Meaning

WDB Equivalent

XDB Command

List signal handling

lz

(with -xdb), info signals

lz

Toggle stop flag for signal number

z number s

(with -xdb),

handle numberstop

, handle

number nostop

z number s

Toggle ignore flag for signal
number

z number i

(with -xdb),

handle numbernopass

,

handle number pass

z number i

Toggle report flag for signal
number

z number r

(with -xdb),

handle number print

,

handle number noprint

z number r

Do not print the new state of the
signal

z number Q

(with -xdb),

handle number noprint

z number Q

16.2.10 Miscellaneous commands

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

Table 16-15 Miscellaneous commands

Meaning

WDB Equivalent

XDB Command

Repeat previous command

Return

Return

Repeat previous command

Return

~

Separate commands in command
list

No equivalent (one command per
line in command list)

;

16.2 Overall breakpoint commands

265