beautypg.com

4 xdb location syntax and hp wdb equivalents, Macro facility commands – HP gnu source-level debugger 5992-4701 User Manual

Page 268

background image

Table 16-16 Data format commands (continued)

Meaning

WDB Equivalent

XDB Command

Print in binary

t

z

Print in long binary

t

Z (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 WDB commands for locating
source lines:

Table 16-17 Macro facility commands

Meaning

WDB Equivalent

XDB location syntax

Source line and code address

line

line

Source line and code address

file[:line]

file[:line]

Procedure name

proc

proc

Source line and code address

No equivalent

[file:]proc[:proc[...]][:line]

Source line and code address

No equivalent

[file:]proc[:proc[...]][:#label]

Source line and code address

[class]::proc

[class]::proc

Source line and code address

No equivalent

[class]::proc[:line]

Source line and code address

No equivalent

[class]::proc[#label]

Code address

No equivalent

proc#line

Code address

No equivalent

[class]::proc#line

Source line and code address

No equivalent

#label

Address of name in shared library
shared-library

No equivalent

name@shared-library

16.5 XDB special language operators and HP WDB equivalents

The following table lists the XDB and the equivalent WDB commands for language
operators:

268

XDB to WDB Transition Guide