OAR

RTEMS GNU Tools On-Line Library


Search

PREV UP NEXT Bookshelf Debugging with GDB

7.2: Searching source files

There are two commands for searching through the current source file for a regular expression.

forward-search regexp
search regexp
The command `forward-search regexp' checks each line, starting with the one following the last line listed, for a match for regexp. It lists the line that is found. You can use the synonym `search regexp' or abbreviate the command name as fo.
reverse-search regexp
The command `reverse-search regexp' checks each line, starting with the one before the last line listed and going backward, for a match for regexp. It lists the line that is found. You can abbreviate this command as rev.


PREV UP NEXT Bookshelf Debugging with GDB

Packaging copyright © 1988-2000 OAR Corporation
Context copyright by each document's author. See Free Software Foundation for information.