Native Inspect Manual (H06.03+)

Table Of Contents
Syntax of Native Inspect Commands
Native Inspect Manual528122-003
3-55
print command
number command to control the maximum number of elements printed for strings
or arrays.
For pTAL, only one character of a pointer to a string is printed. An array of strings
is printed as an array with each different element printed separately. If the
elements are all characters, however, they are printed as one string.
Examples
To display constant expressions (compared to display of eq command):
To display variable addresses:
To display the address of a function:
To display character pointers (note that character pointers are automatically
dereferenced):
(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: '...@'
(eInspect 3,657): print &PCBList
$5 = (struct PCBList_s *) 0x8000320
(eInspect 3,663): print &PCB_addAttribute
$12 = (void (*)(PCB_t *, PCBAttribute_t *)) 0x70001820:0
<PCB_addAttribute>
(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"...