? subcommand for dbx: Search backward for a pattern

Format

? [RegularExpression]

Description

The ? subcommand searches backward in the current source file for the pattern specified by the RegularExpression argument. Entering the ? subcommand with no arguments causes dbx to search backward for the previous regular expression.

Usage notes

The ? subcommand can be run only while the dbx debug program is running.

Examples

  1. To search backward in the current source file for the letter z, enter:
    ?z
  2. To repeat the previous search, enter:
    ?

Related information

The / (search) subcommand.