Native Inspect Manual (H06.13+, J06.03+)

Examples
To display constant expressions, (compared to display of eq command), use the following
command:
(eInspect 3,638): print /x 0x6ffffe40 + (47 *7)
$9 = 0x6fffff89
(eInspect 3,638): print /c 64
$8 = 64 '@
(eInspect 3,638): eq 64
OCT: 000100 DEC: 64 HEX: 0x0040 ASCII: '...@'
To display variable addresses:
(eInspect 3,657): print &PCBList
$5 = (struct PCBList_s *) 0x8000320
To display the address of a function:
(eInspect 3,663): print &PCB_addAttribute
$12 = (void (*)(PCB_t *, PCBAttribute_t *)) 0x70001820:0 <PCB_addAttribute>
To display character pointers (note that character pointers are automatically dereferenced)
use the following command:
(eInspect 3,638): print new_ptr
$11 = 0x80001c0 "In print_and_break\n
(eInspect 3,638): set print elements 10
(eInspect 3,638): print new_ptr
$14 = 0x80001c0 "In print_a"...
The following example uses the COBOL concatenation operator:
(eInspect 0,434): print E & M
$1 = EM
(eInspect 3,434): print ABC & DEF
$2 = ABCDEF
To display pointers:
(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
To modify registers:
(eInspect 3,663): print $gr33
$21 = 1879062640
(eInspect 3,663): print $gr33 = 10
$22 = 10
(eInspect 3,663): print $gr33
$23 = 10
print Command 105