System Debug Reference Manual (32650-90888)

248 Chapter6
System Debug Command Specifications M-X
PSEUDOMAP
information.
space_id
Associate symbols from
local_file
with this space. Any attempt to
convert a symbol address in this space to an address uses the local file for
symbol name lookups.
loaded_fname
Bind this file name to all symbols from space
space_id
. All of the
commands and functions that deal with file names (for example, the
NMPATH function and NM program window) use this file name any time a
file name is to be associated with a space ID.
offset
Associate
local_file
with this offset within the space.
Examples
$nmdebug > wl FOPEN
SYS $a.3e1130
$nmdebug > map nl.build
1 NL.BUILD.CMDEBUG 4ef.0 Bytes = c5f600
$nmdebug > xl nl.build 4ef nl.pub.sys
Preprocessing NL.BUILD.CMDEBUG, please wait ... Done
$nmdebug > dc FOPEN 3
USER $4ef.4c5138
004c5138 FOPEN 6bc23fd9 STW 2,-20(0,30)
004c513c FOPEN+$4 37de00d0 LDO 104(30),30
004c5140 FOPEN+$8 4bdf3f09 LDW -124(0,30),31
We start by seeing that the FOPEN routine is found in the SYS library at $a.3e1130. Next we
use the map command to map a local copy of a new version of the NL into memory. (It gets
mapped at space $4ef.) We then use the PSEUDOMAP command to obtain access to the
symbols in the new copy of NL. Finally, we use the DC command to display the first few
words of the FOPEN procedure as found in the new NL (NL.BUILD.CMDEBUG).
Remember that the PSEUDOMAP command only provides access to symbol information. In
order to display data in a file, the MAP command must be used.
($22) nmdat > dptree 22
22 (CI.PUB.SYS)
($22) nmdat > tr
PC=a.000d87f8 enable_int+$20
* 0) SP=40224ac8 RP=a.001cfda8
notify_dispatcher.block_current_process+$268
1) SP=40224ac8 RP=a.001d0dcc notify_dispatcher+$2b0
2) SP=40224a10 RP=a.00291b94 wait_for_active_port+$e0
3) SP=40224828 RP=a.00292324 receive_from_port+$22c
4) SP=402247c0 RP=a.002c51ec extend_receive+$41c
5) SP=402246d0 RP=a.002b5d30 rendezvousio.get_specific+$11c
6) SP=402245b0 RP=a.002b5fb4 rendezvousio+$19c
7) SP=40224510 RP=a.002b2398 attachio+$5e0
8) SP=40224308 RP=a.002ad690 ?attachio+$8