HP 64767 User Manual page 421

Emulation/analysis
Table of Contents

Advertisement

exists. If the new symbol exists, SRU will assume that is the symbol
you want. Otherwise, it will return the message "symbol not found".
If no module was derived from the filename, SRU will return the message
"symbol not found".
You can reference different variables with matching identifiers by specifying the
complete scope. You can also save on keystrokes by specifying a scope with cws.
For example, if you are making many measurements involving symbols in the file
"porthand.c", you could specify:
cws porthand.c:process_port
Then
i
BLOCK_1.i
are prefixed with "porthand.c:process_port" before the database lookup.
If a symbol search with the current working symbol prefix is not successful, the last
scope on the current working symbol is stripped. The symbol you specified is then
retested with the modified current working symbol. This does not change the
actual current working symbol.
For example, if you set the current working symbol as
cws porthand.c:process_port.BLOCK_1
and made a reference to symbol i2, the retrieval utilities attempt to find a symbol
called
porthand.c:process_port.BLOCK_1.i2
which would not be found.
The symbol utilities would then strip BLOCK_1 from the current working symbol,
yielding
porthand.c:process_port.i2
which is a valid symbol. If this is still not a valid symbol, this process is repeated
until the symbol is found or until there are no more elements in the cws.
Chapter 12: Emulator/Analyzer Interface Commands
--SYMB--
421

Advertisement

Table of Contents
loading

This manual is also suitable for:

80186/8/xl/ea/eb

Table of Contents