Table 16-16 Data format commands (continued)

XDB Command

WDB Equivalent

Meaning

d

d

Decimal integer

D (1)

d

Long decimal integer

e

No equivalent

e Floating-point notation as float

E (1)

No equivalent

e Foating-point notation as double

f

No equivalent

f floating-point notation as float

F (1)

No equivalent

f floating-point notation as double

g

f

g floating-point notation as float

G (1)

f

g floating-point notation as double

i

Use x/i command

Machine instruction (disassembly)

k

No equivalent

Formatted structure display

K (1)

No equivalent

Formatted structure display with

 

 

base classes

n

print

Normal (default) format, based on

 

 

type

o

o

Expression in octal as integer

O (1)

o

Expression in octal as long integer

P

a

Print name of procedure

 

 

containing address

s

No equivalent

String

S

No equivalent

Formatted structure display

t

whatis, ptype

Show type of the expression

T (1)

ptype

Show type of expression, including

 

 

base class information

u

u

Expression in unsigned decimal

 

 

format

U (1)

u

Expression in long unsigned

 

 

decimal format

w

No equivalent

Wide character string

W (1)

No equivalent

Address of wide character string

x

x

Print in hexadecimal

X (1)

x

Print in long hexadecimal

 

16.3 XDB data formats and HP WDB equivalents 267

Page 267
Image 267
HP gnu source-level debugger 5992-4701 manual Decimal integer