[Lldb-commits] [lldb] r174987 - <rdar://problem/13184389>

Greg Clayton gclayton at apple.com
Tue Feb 12 10:42:05 PST 2013


Author: gclayton
Date: Tue Feb 12 12:42:05 2013
New Revision: 174987

URL: http://llvm.org/viewvc/llvm-project?rev=174987&view=rev
Log:
<rdar://problem/13184389>

_regexp-list needs to treat "list -" as "source list -r"


Modified:
    lldb/trunk/source/Interpreter/CommandInterpreter.cpp

Modified: lldb/trunk/source/Interpreter/CommandInterpreter.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/CommandInterpreter.cpp?rev=174987&r1=174986&r2=174987&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/CommandInterpreter.cpp (original)
+++ lldb/trunk/source/Interpreter/CommandInterpreter.cpp Tue Feb 12 12:42:05 2013
@@ -591,6 +591,7 @@ CommandInterpreter::LoadCommandDictionar
         if (list_regex_cmd_ap->AddRegexCommand("^([0-9]+)[[:space:]]*$", "source list --line %1") &&
             list_regex_cmd_ap->AddRegexCommand("^(.*[^[:space:]])[[:space:]]*:[[:space:]]*([[:digit:]]+)[[:space:]]*$", "source list --file '%1' --line %2") &&
             list_regex_cmd_ap->AddRegexCommand("^\\*?(0x[[:xdigit:]]+)[[:space:]]*$", "source list --address %1") &&
+            list_regex_cmd_ap->AddRegexCommand("^-[[:space:]]*$", "source list --reverse") &&
             list_regex_cmd_ap->AddRegexCommand("^(.+)$", "source list --name \"%1\"") &&
             list_regex_cmd_ap->AddRegexCommand("^$", "source list"))
         {





More information about the lldb-commits mailing list