Debugging with GDB Manual (5900-1473; WDB 6.2; January 2011)

Table Of Contents
Table 15 Macro facility commands
MeaningHP WDB EquivalentXDB Command
Define a user-defined commanddef name [GDB prompts for
commands]
def name replacement-text
Toggle the macro substitution
mechanism
No equivalenttm
Remove the macro definition for
name
def name [follow with empty
command list]
undef name
Remove all macro definitionsNo equivalentundef *
16.2.9 Signal control commands
The following table lists the XDB and equivalent HP WDB commands for signal control:
Table 16 Signal control commands
MeaningHP WDB EquivalentXDB Command
List signal handlinglz (with -xdb), info signalslz
Toggle stop flag for signal numberz 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 HP WDB commands are discussed below:
Table 17 Miscellaneous commands
MeaningHP WDB EquivalentXDB Command
Repeat previous commandReturnReturn
Repeat previous commandReturn~
Separate commands in command
list
No equivalent (one command per
line in command list)
;
268 XDB to HP WDB Transition Guide