Native Inspect Manual (H06.13+, J06.03+)
381 pcb->state = PCBState_ready;
382 pcb->flags.item.isReady = 1;
383 pcb->flags.item.isHappy = 1;
384
385 PCBList_add( &PCBReadyList, PCBList.entry[2] );
386 pcb = PCBList.entry[2]->ref.pcb;
(eInspect 1,463): list
387 pcb->state = PCBState_ready;
388 pcb->flags.item.isReady = 1;
389 pcb->flags.item.isHappy = 1;
390
391 PCBList_add( &PCBReadyList, PCBList.entry[4] );
392 pcb = PCBList.entry[4]->ref.pcb;
393 pcb->state = PCBState_ready;
394 pcb->flags.item.isReady = 1;
395 pcb->flags.item.isHappy = 1;
396
• Use the following command to list source at a line:
(eInspect 1,463): list 200
195 static PCBAttribute_t *PCBAttribute_createNonstop();
196 static PCBAttribute_t *PCBAttribute_createSystem();
197 static PCBHandle_t *PCBHandle_create( PCB_t *pcb );
198 static PCBHandle_t *PCBHandle_addRef( PCBHandle_t );
199 static void PCBList_add( PCBLink_t **list, PCBHandle_t );
200
201 static void pcbDataStructs_initialize();
202
203 static void test_complexTypes();
204
• Use the following command to list source at a function:
eInspect 1,463): list pcbDataStructs_initialize
335
336 /* **************************
337 * pcbDataStructs_initialize
338 */
339 static void pcbDataStructs_initialize()
340 {
341 PCB_t *pcb;
342 PCBHandle_t *pcbHandle;
343
344 printf( "%s pcbDataStructs_initialize\n", getStepPrefix(
1 ) );
• Use the following command to list source at an address:
(eInspect 3,663): list *0x700001aa0
0x70001aa0:0 is in PCBAttribute_create (\SIERRA.$YOSE1.SYMBAT1.SCXXTST:252).
247 */
248 static PCBAttribute_t *PCBAttribute_create()
249 {
250 PCBAttribute_t *pcbAttribute = (PCBAttribute_t *) malloc(
sizeof( PCBAttribute_t ) );
251 memset( pcbAttribute, 0, sizeof( pcbAttribute ) );
252 return pcbAttribute;
253
254
255
256 /*
• COBOL example:
(eInspect 7,411): list MAIN
19 ?MAIN main
20 IDENTIFICATION DIVISION.
21 PROGRAM-ID. main.
22 ENVIRONMENT DIVISION.
23 CONFIGURATION SECTION.
24 SOURCE-COMPUTER. ABD.
25 OBJECT-COMPUTER. ABD.
96 Native Inspect Command Syntax










