HP 3000 Manuals

File Viewing Commands [ Symbolic Debugger/iX User's Guide ] MPE/iX 5.0 Documentation


Symbolic Debugger/iX User's Guide

File Viewing Commands 

          Table I-2.  File Viewing Commands 
-------------------------------------------------------------------------------------------
|        |                                |                                               |
|  Cmd   |             Syntax             |                  Description                  |
|        |                                |                                               |
-------------------------------------------------------------------------------------------
|        |                                |                                               |
| +      |                                | Moves forward in the current file the         |
|        |                                | specified number of lines (or the specified   |
|        | + [ number]                    | number of instructions in disassembly mode).  |
|        |                                | If you do not enter a number, the next line   |
|        |                                | (or instruction) becomes the current line (or |
|        |                                | instruction).                                 |
|        |                                |                                               |
-------------------------------------------------------------------------------------------
|        |                                |                                               |
| -      |                                | Moves the specified number of lines (or the   |
|        |                                | specified number of instructions in           |
|        | - [ number]                    | disassembly mode) backward in the current     |
|        |                                | file and updates the windows.  The default is |
|        |                                | one line (or instruction) before the current  |
|        |                                | line (or instruction).                        |
|        |                                |                                               |
-------------------------------------------------------------------------------------------
|        |                                |                                               |
| /      |                                | Searches forward in the file for the          |
|        |                                | specified string.  Searches wrap around the   |
|        | / [ string]                    | end of the file.  If you do not enter a       |
|        |                                | string, the last one that you entered is used |
|        |                                | again.  The string must be literal; wild      |
|        |                                | cards are not supported.                      |
|        |                                |                                               |
-------------------------------------------------------------------------------------------
|        |                                |                                               |
| ?      |                                | Searches backward in the current file for a   |
|        |                                | specific pattern.  Searches wrap around the   |
|        | ?  [ string]                   | beginning of the file.  If you do not enter a |
|        |                                | string, the last search string is used again. |
|        |                                | The string must be literal; wild cards are    |
|        |                                | not supported.                                |
|        |                                |                                               |
-------------------------------------------------------------------------------------------
|        |                                |                                               |
| D      |                                | Adds the directory that you specify to the    |
|        | { D        } "dir"             | list of directory search paths for source     |
|        | { Directory}                   | files.                                        |
|        |                                |                                               |
-------------------------------------------------------------------------------------------
|        |                                |                                               |
| ld     |                                | Lists all the alternate directories that are  |
|        | { ld              }            | searched when the debugger tries to locate    |
|        | { list directories}            | the source files.                             |
|        |                                |                                               |
-------------------------------------------------------------------------------------------
|        |                                |                                               |
| lf     |                                | Lists all source files containing executable  |
|        | { lf        } [ string]        | statements that were compiled to build the    |
|        | { list files}                  | executable file.  If a string is specified,   |
|        |                                | only those files beginning with the string    |
|        |                                | are listed.                                   |
|        |                                |                                               |
-------------------------------------------------------------------------------------------
|        |                                |                                               |
| L      |                                | Displays in the command window the current    |
|        | { L       }                    | file, procedure, line number and the source   |
|        | { Location}                    | text for the current point of execution.      |
|        |                                |                                               |
-------------------------------------------------------------------------------------------
|        |                                |                                               |
| n      |                                | Repeats the previous search (/ or ?)          |
|        | { n   }                        | command.                                      |
|        | { next}                        |                                               |
-------------------------------------------------------------------------------------------
|        |                                |                                               |
| N      |                                | Repeats the previous search (/ or ?)          |
|        | { N   }                        | command, searching in the opposite direction. |
|        | { Next}                        |                                               |
-------------------------------------------------------------------------------------------

          Table I-2.  File Viewing Commands (cont.) 

-------------------------------------------------------------------------------------------
|        |                                |                                               |
|  Cmd   |             Syntax             |                  Description                  |
|        |                                |                                               |
-------------------------------------------------------------------------------------------
|        |                                |                                               |
| v      |                                | Displays one source window forward from the   |
|        | { v   } [ location]            | current source window.  One line from the     |
|        | { view}                        | previous window is preserved for context.  If |
|        |                                | your terminal does not support windowing,     |
|        |                                | only the new source line is displayed.  Using |
|        |                                | the location option causes the specified      |
|        |                                | location to become the current location, and  |
|        |                                | the source at the specified location is then  |
|        |                                | displayed in the source window.               |
|        |                                |                                               |
-------------------------------------------------------------------------------------------
|        |                                |                                               |
| V      |                                | Displays the text for the procedure at the    |
|        | { V   } [ depth]               | depth on the program stack that you specify.  |
|        | { View}                        | If you do not enter a depth, the current      |
|        |                                | active procedure is used.                     |
|        |                                |                                               |
-------------------------------------------------------------------------------------------
|        |                                |                                               |
| va     |                                | Displays in the source window assembly code   |
|        | { va          } address        | at the specified address.  A specified        |
|        | { view address}                | address can be an absolute address or         |
|        |                                | symbolic code label with an optional offset   |
|        |                                | (for example, _start + 0x20).                 |
|        |                                |                                               |
-------------------------------------------------------------------------------------------



MPE/iX 5.0 Documentation