Native Inspect Manual (H06.13+, J06.03+)
(eInspect 3,663): print $gr33 += 10
$24 = 20
• To display an instruction pointer:
(eInspect 3,663): print /x $ip
$29 = 0x70002bf0
• 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 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>
• To display a buffer formatted as a ‘C’/C++ struct or pTAL record, (use the set print
pretty command to control display format of structures), use the following command:
(eInspect 3,663): print gBuffer
$7 = '\000' <repeats 15 times>, "\003\b\000N\340\b\000O@\b\000O\240",
'\000' <repeats 27 times>
(eInspect 3,663): print {PCB_t} gBuffer
$8 = {
state = 0,
flags = {
word = 0,
item = {
isBad = 0,
isReady = 0,
isHappy = 0,
isStarved = 0,
waitState = 0
}
},
dispatchCount = 0,
pin = 0,
attributeCount = 3,
attribute = {0x8004ee0, 0x8004f40, 0x8004fa0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0}
}
• To display a range of array elements, (use the set print array to control display format
of arrays), use the following command:
(eInspect 3,663): print gBuffer
$23 = "0123456789\000\000\000\000\000\003\b\000N\340\b\000O@\b\000O\240",
'\000' <repeats 27 times>
(eInspect 3,663): print gBuffer[2]@5
$24 = "23456"
• To display complex C/C++ data structures:
(eInspect 3,657): print PCBList->entry[0]->ref.pcb->attribute->att.system
$12 = {
privLevel = 5
}
• To display cast expressions:
(eInspect 1,463): print pcb->flags
$4 = {
106 Native Inspect Command Syntax










