Debugging with GDB Manual HP WDB v6.3 (5900-2180, August 2012)

Table 18 Data format commands (continued)
MeaningHP WDB EquivalentXDB Command
StringNo equivalents
Formatted structure displayNo equivalentS
Show type of the expressionwhatis, ptypet
Show type of expression, including
base class information
ptypeT (1)
Expression in unsigned decimal formatuu
Expression in long unsigned decimal
format
uU (1)
Wide character stringNo equivalentw
Address of wide character stringNo equivalentW (1)
Print in hexadecimalxx
Print in long hexadecimalxX (1)
Print in binarytz
Print in long binarytZ (1)
(1) HP WDB will display data in the size appropriate for the data. It will not extend the length
displayed in response to one of the uppercase formchars (for example, O, D, F).
16.4 XDB location syntax and HP WDB equivalents
The following command lists the XDB and the equivalent HP WDB commands for locating source
lines:
Table 19 Macro facility commands
MeaningHP WDB EquivalentXDB location syntax
Source line and code addresslineline
Source line and code addressfile[:line]file[:line]
Procedure nameprocproc
Source line and code addressNo equivalent[file:]proc[:proc[...]][:line]
Source line and code addressNo equivalent[file:]proc[:proc[...]][:#label]
Source line and code address[class]::proc[class]::proc
Source line and code addressNo equivalent[class]::proc[:line]
Source line and code addressNo equivalent[class]::proc[#label]
Code addressNo equivalentproc#line
Code addressNo equivalent[class]::proc#line
Source line and code addressNo equivalent#label
Address of name in shared library
shared-library
No equivalentname@shared-library
16.5 XDB special language operators and HP WDB equivalents
The following table lists the XDB and the equivalent HP WDB commands for language operators:
214 XDB to HP WDB Transition Guide