Debug Manual
Table Of Contents
- What’s New in This Manual
- About This Manual
- 1 Introduction
- Execution Modes on TNS/R Systems
- What User Access Is Required for Debugging
- How to Make a Process Enter Debug
- How to Select Debug as the Debugger
- Why a Process Enters Debug
- How to Determine Process State on a Trap or Signal
- Ending a Debug Session
- What Appears in the Debug Header Message
- How to Use Debug
- How Debug Breakpoints Work
- 2 Using Debug on TNS/R Processors
- 3 Debug Command Overview
- 4 Debug Commands
- Command Summary
- A Command
- AMAP Command
- B Command
- BASE Command
- BM Command
- C Command
- CM Command
- D Command
- DJ Command
- DN Command
- EX[IT] Command
- F[ILES] Command
- FC Command
- FN Command
- FNL Command
- FREEZE Command
- HALT Command
- H[ELP] Command
- I Command
- IH Command (TNS/R Native and OSS Processes)
- INSPECT Command
- LMAP Command
- M Command
- MH Command (TNS/R Native and OSS Processes)
- P[AUSE] Command
- PMAP Command (Accelerated Programs)
- PRV Command
- R Command
- S[TOP] Command
- T Command
- V Command
- VQ Command
- VQA Command
- = Command
- ? Command
- A Error Messages
- B ASCII Character Set
- C Command Syntax Summary
- Register Syntax
- Expression Syntax
- Address Syntax
- A Command
- AMAP Command
- B Command
- BASE Command
- BM Command
- C Command
- CM Command
- D Command
- DJ Command
- DN Command
- EX[IT] Command
- F[ILES] Command
- FC Command
- FN Command
- FNL Command
- FREEZE Command
- HALT Command
- H[ELP] Command
- I Command
- IH Command
- INSPECT Command
- LMAP Command
- M Command
- MH Command
- Output-Device Syntax
- P[AUSE] Command
- PMAP Command
- PRV Command
- R Command
- S[TOP] Command
- T Command
- V Command
- VQ Command
- VQA Command
- = Command
- ? Command
- D Session Boundaries
- E Correspondence Between Debug and Inspect Commands
- F Sample Debug Sessions
- Glossary
- Index

Debug Commands
Debug Manual—421921-003
4-49
FNL Command
Examples
106,00,00014-FN UC.1, 1, 3 & 2
106,00,00014-FN 5, 23 & 2
248,01,00023-FN N 0x80020000, 0x33 ! Find the number 0x33 starting at
! the specified RISC address.
FNL Command
The FNL command searches memory to find a 32-bit number. The FNL command
starts at a specified address and searches memory until one of the following occurs:
•
A word is reached whose contents logically ANDed with mask, and it equals the
result of value logically ANDed with mask.
•
A byte address ending in 17 binary zeros is reached.
The form of the FNL command is:
address
is the address at which the FNL command starts to search memory. The address
parameter must be on an even byte boundary. For more information, see Address
Syntax on page 3-12.
value
is any expression that evaluates to a valid 32-bit number.
mask
is any expression that evaluates to a valid 32-bit number.
Considerations
•
The FNL command has a default that provides a shorthand way of finding repeated
occurrences of a value. If you execute an FNL command and a match is found,
Debug responds with the standard prompt followed by (FNL). For example:
251,06,00024-(FNL)
If you then press RETURN, the effect is the same as entering an FNL command
with no parameters; that is, Debug continues searching for the same value starting
at the address where the previous FNL command terminated. You can continue
pressing RETURN in this manner until the Debug prompt does not contain (FNL)
(indicating that no match was found).
FNL [ address [ , value ] [ & mask ] ]