Native Inspect Manual (H06.13+, J06.03+)
Considerations
• A time-saving use of the map = alias-name form of the map command (source name
omitted) is to specify this command after receiving an error from a list command. The current
source file name is assumed, thus eliminating the need to copy-and-paste or retype the name
displayed in the list command error message.
• New aliases created as a result of prefix matches are added to the mapping list. For example,
if you enter the following command:
map D:\usr\T1000=/h/src
then a source file name of, for example, D:\usr\T1000\src\cpu\mips\x.c is aliased
to /h/src/src/cpu/mips/x.c. when the source file name is listed. A subsequent map
command displays the following aliases:
2. D:\usr\T1000\src\cpu\mips\x.c is aliased to /h/src/src/cpu/mips/x.c (Prefix match)
1. D:\usr\T1000 is aliased to /h/src
If you now enter the following command:
mapD:\usr\T1000=/v/src
then the alias is added to the beginning of the alias list (with alias id 3). If you then list the
source file D:\usr\T1000\src\cpu\mips\x.c, another new full path name alias (which
is now the active alias) is added. A map command now displays the following:
4. D:\usr\T1000\src\cpu\mips\x.c is aliased to /v/src/src/cpu/mips/x.c (Prefix match)
3. D:\usr\T1000 is aliased to /v/src
2. D:\usr\T1000\src\cpu\mips\x.c is aliased to /h/src/src/cpu/mips/x.c (Prefix match)
1. D:\usr\T1000 is aliased to /h/src
• Higher numbered aliases take precedence over lower- numbered aliases
Examples
For more examples of mapping file names, see Optionally Determining the Compilation-Time
Source File Name (page 36) and Optionally Configuring a Search Path for Your Source Files
(page 36).
mh Command
Sets up signal handlers (modifies handlers) for the specified signal.
The mh command applies to the current process only and cannot apply to TNS emulated processes.
The signal handlers can be specified as actions or as a procedure entry address.
mh signal-name {SIG_IGN|SIG_ABORT|SIG_DFL|SIG_DBG|native-address}
Where:
signal-name
The name of the signal being set up with a signal handler. See Table 12 (page 101).
SIG_IGN|SIG_ABORT|SIG_DFL|SIG_DBG
The signal handlers (in this case, actions), defined as follows:
• SIG_IGN – Ignore signal
• SIG_ABORT – Abort program
• SIG_DFL – Invoke default
• SIG_DBG – Invoke debugger
native-address
The procedure entry address at which the signal handler is set up. See Syntax of native-address
(page 61).
Table 12 lists the signal names. Signal names are used in both the mh Command and the ih
Command.
100 Native Inspect Command Syntax










