diff options
author | Jim Ingham <jingham@apple.com> | 2011-06-20 23:38:11 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2011-06-20 23:38:11 +0000 |
commit | 91da589d7e4dab0ce055e29c5bde99ddca194478 (patch) | |
tree | ae0aa067e8deaf1749b873b663c6e9ae20277ca9 /lldb/source/Commands/CommandObjectTarget.cpp | |
parent | ceaac7cb4a2b9d978e4bdb4bfa0793e73b5c4e47 (diff) | |
download | bcm5719-llvm-91da589d7e4dab0ce055e29c5bde99ddca194478.tar.gz bcm5719-llvm-91da589d7e4dab0ce055e29c5bde99ddca194478.zip |
The "-r" option should work for both "-n" and "-s", but it was only set to work for "-s".
llvm-svn: 133479
Diffstat (limited to 'lldb/source/Commands/CommandObjectTarget.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectTarget.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp index 3245dbb0e42..c1e821c22ef 100644 --- a/lldb/source/Commands/CommandObjectTarget.cpp +++ b/lldb/source/Commands/CommandObjectTarget.cpp @@ -2808,8 +2808,10 @@ CommandObjectTargetModulesLookup::CommandOptions::g_option_table[] = { { LLDB_OPT_SET_1, true, "address", 'a', required_argument, NULL, 0, eArgTypeAddress, "Lookup an address in one or more target modules."}, { LLDB_OPT_SET_1, false, "offset", 'o', required_argument, NULL, 0, eArgTypeOffset, "When looking up an address subtract <offset> from any addresses before doing the lookup."}, + { LLDB_OPT_SET_2| LLDB_OPT_SET_4 + /* FIXME: re-enable this for types when the LookupTypeInModule actually uses the regex option: | LLDB_OPT_SET_5 */ , + false, "regex", 'r', no_argument, NULL, 0, eArgTypeNone, "The <name> argument for name lookups are regular expressions."}, { LLDB_OPT_SET_2, true, "symbol", 's', required_argument, NULL, 0, eArgTypeSymbol, "Lookup a symbol by name in the symbol tables in one or more target modules."}, - { LLDB_OPT_SET_2, false, "regex", 'r', no_argument, NULL, 0, eArgTypeNone, "The <name> argument for name lookups are regular expressions."}, { LLDB_OPT_SET_3, true, "file", 'f', required_argument, NULL, 0, eArgTypeFilename, "Lookup a file by fullpath or basename in one or more target modules."}, { LLDB_OPT_SET_3, false, "line", 'l', required_argument, NULL, 0, eArgTypeLineNum, "Lookup a line number in a file (must be used in conjunction with --file)."}, { LLDB_OPT_SET_3, false, "no-inlines", 'i', no_argument, NULL, 0, eArgTypeNone, "Check inline line entries (must be used in conjunction with --file)."}, |