Native Inspect Manual (H06.04+)
Syntax of Native Inspect Commands
Native Inspect Manual—528122-005
4-58
print command
To display pointers:
To modify registers:
To display an instruction pointer:
Use the @ symbol to control the number of instances printed. In this example, three
commands contain the @ symbol. The first command displays two instances of the
entire attribute array. The second command displays three array elements starting at
element 1. The third command displays 50 array elements starting at element 0:
(eInspect 3,657): print pcb
$1 = (PCB_t *) 0x80048a0
(eInspect 3,657):print *pcb
$2 = {
state = 0,
flags = {
word = 0,
item = {
isBad = 0,
isReady = 0,
isHappy = 0,
isStarved = 0,
waitState = 0
}
},
dispatchCount = 0,
pin = 0,
attributeCount = 2,
attribute = {0x8004ee0, 0x8004f40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0}
}
(eInspect 3,657) print pcb->flags.item.isHappy
$3 = 0
(eInspect 3,663): print $gr33
$21 = 1879062640
(eInspect 3,663): print $gr33 = 10
$22 = 10
(eInspect 3,663): print $gr33
$23 = 10
(eInspect 3,663): print $gr33 += 10
$24 = 20
(eInspect 3,663): print /x $ip
$29 = 0x70002bf0
(eInspect 4,782): print pcb->attribute
$2 = {0x8004ee0, 0x8004f40, 0x8004fa0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
(eInspect 4,782): print pcb->attribute@2
$3 = {{0x8004ee0, 0x8004f40, 0x8004fa0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0}, {
0xffffffffaaaaaaaa, 0x10, 0x1, 0x80048a0, 0xffffffffaaaaaaaa, 0x40,
0x0,
0x0, 0x0, 0x10000}}
(eInspect 4,782): print pcb->attribute[1]@3
$4 = {0x8004f40, 0x8004fa0, 0x0}
(eInspect 4,782): print gBuffer[0]@50
$5 = '\000' <repeats 49 times>










