System Debug Reference Manual (32650-90888)

Chapter 4 141
System Debug Command Specifications :-Exit
ENV
the ENTRY_MODE variable.
FALSE BOOL (const) r
The constant FALSE.
FILL STR (io) rw *
This variable determines how leading zeros in right-justified data (refer to
JUSTIFY variable) are output from the Display commands and in the
windows. This variable may take on one of two quoted literal values:
"BLANK" (show leading zeros as blanks) or "ZERO" (show leading zeros as
zeros). The default value is "ZERO".
FILTER STR (io) rw *
All output, with the exception of error messages and the prompts, passes
through a final filtering process. Those lines that match the value in the
FILTER variable are displayed and the rest are discarded. By default,
FILTER is initialized to the blank string (&'&', &"&", or ) that matches all
output. FILTER can be set to a regular expression for the purpose of
pattern matching. For example, the following shows how to find the
pattern "123" in memory. Only a line that contains "123" anywhere in the
line is displayed. Note that FILTER is displayed as part of the default
prompt.
$6 ($10) nmdat > env FILTER 123
$7 ($10) nmdat 123> dv a.c0000000, 4000
$ VIRT a.c0001020 $ 40020330 4002033c 40012348 c0002342
$ VIRT a.c0001238 $ c0062344 ffffffff fffffec2 00000004
$ VIRT a.c0003240 $ 00000001 0000cf42 40012362 000000bc
$8 ($10) nmdat 123> env filter ''
$9 ($10) nmdat >
Three lines of output were matched. The pattern "123" has been
highlighted in the example to help point out where the pattern was found
in the line. Notice that one of the lines contained the pattern as part of the
address displayed by the DV command. We could use a fancier regular
expression to have just those lines with a "123" in the data part of the
output be displayed. In the following example, the regular expression
translates into "Match those lines that start with a dollar sign (^$), are
followed by any number of any characters (.*), that are followed by a
dollar sign and a space ($ ), and followed by any number of any character
(.*), and finally followed by characters 123 (123)."
$a ($10) nmdat > env FILTER `^$.*$ .*123`
$b ($10) nmdat ^$.*$ .*123> dv a.c0000000, 4000
$ VIRT a.c0001020 $ 40020330 4002033c 40012348 c0002342
$ VIRT a.c0003240 $ 00000001 0000cf42 40012362 000000bc
$c ($10) nmdat ^$.*$ .*123> set def
$d ($10) nmdat >
Note that only those lines with "123" as part of the data output by the DV
command were matched and displayed. For additional information on how
to specify regular expressions, refer to appendix A.
FP0-FP15 LPTR (fpreg) r dm