beautypg.com

4 printing cfm and pfs registers – HP gnu source-level debugger 5992-4701 User Manual

Page 196

background image

0x40172b27: (b2) P3lc_gr gr=40
0x40172b29: (61) R3body rlen=33
0x40172b2b: (81) B1label_state label=1
0x40172b2c: (c0) B2epilogue t=44
0x40172b2e: (00) R1prologue rlen=0
0x40172b2f: (00) R1prologue rlen=0

14.13.4 Printing CFM and PFS registers

On Integrity systems, HP WDB prints Current Frame Marker (CFM) and Previous
Frame State (PFS) ar64 registers in two different formats:

raw values

special formats identifying the size of rotating registers, frame and locals.

For example,

ar64: 0xc00000000000050c (sor:0, sol:10, sof:12)
cfm: 0x800000000000450a (sor:1, sol:10, sof:10)

14.14 Command to Search for a Pattern in the Memory Address Space

The HP WDB find command searches for a pattern in the given memory address
range for both live and corefile debugging. Following is the syntax for the find
command:

find [/size-char] [/max-count] start-address, end-address, expr1

[, expr2 ...]

find [/size-char] [/max-count] start-address, +length, expr1 [,

expr2 ...]

where:

/size-char

Specifies the size of the pattern. It can be b, h, w, or g for
8-, 16-, 32-, 64-bit values, respectively. It is applicable only
for hexadecimal patterns.

If /size-char is not specified, the size is obtained from
the type of the expression in the current programming
language.

This is an optional parameter.

/max-count

Specifies the maximum number of matching patterns to
be displayed. This is an optional parameter.

start-address

Specifies the start address in the given memory address
range. This parameter is mandatory.

end-address

Specifies the end address in the given memory address
range. This parameter is mandatory.

196

HP-UX Configuration-Specific Information