Inspect Manual

Using Inspect in an OSS Environment
Inspect Manual429164-006
14-4
Source Files
Examples
1. This example illustrates the MODIFY command with default arguments.
2. This example illustrates MODIFY without default arguments.
Source Files
Inspect displays source from OSS files. OSS files consist of ASCII text with lines
terminated with a (new-line) ASCII 10 character. Because line numbers automatically
increment for OSS files, but not for Guardian files, lines numbers for corresponding
converted source files may differ. If your file was originally compiled in an OSS
environment, the lines numbers will correspond.
Usage Guidelines
This section presents guidelines for OSS programmers using Inspect. Table 14-1 maps
DBX commands to equivalent Inspect commands. “N/A” indicates that no
corresponding command exists.
-test4--- Default arguments for MODIFY SIGNALS
-test4---
-test4-MODIFY SIGNAL SIGUSR1
Signal SIGUSR1(16)
Handler = SIG_DFL := #func_1
Mask = 0 := 100
Flags = 0 := 500
-test4-INFO SIGNAL SIGUSR1
Signal Handler Mask Flags
SIGUSR1(16) func_1 100 500
-test4-INFO SIGNAL SIGUSR1 DETAIL
Signal: SIGUSR1(16)
Handler: func_1
Mask: 100
Flags: 500
-tes
t4-SIGNAL SIGUSR2 := #func_2, 150, 700
-test4-INFO SIGNAL SIGUSR2 DETAIL
Signal: SIGUS
R2(17)
Handler:
func_2
Mask: 150
Flags: 700
Table 14-1. DBX/Inspect Command Map
DBX Inspect DBX Inspect
/ SOURCE SEARCH
quit STOP/EXIT
? SOURCE SEARCH record input LOG with the INPUT
option
address DISPLAY
, ICODE record output LOG with the
OUTPUT option