Search backward in the source for a string or repeat last search.
reverse-search [string]
string |
The character string to search for. |
This command searches backward, starting at the current position, in the current source file for the specified character string. If you do not specify string, the debugger uses the string of the most recent search.
The debugger interprets the rest of the line to be the search string, so you do not need to quote the string. The debugger executes alias expansion on whatever precedes this command on the same line, possibly changing the search string.
When the debugger finds a match, it lists the line number and the line. That line becomes the starting point for any further searches, or for a list command.
(idb) reverse-search append 145 void List<NODETYPE>::append(NODETYPE* const node) (idb) reverse-search 65 void append (NODETYPE* const node);
Copyright © 1996-2010, Intel Corporation. All rights reserved.