[Lldb-commits] [lldb] r161611 - in /lldb/trunk: source/Core/Debugger.cpp test/functionalities/abbreviation/TestAbbreviations.py

Jim Ingham jingham at apple.com
Thu Aug 9 13:29:35 PDT 2012


Author: jingham
Date: Thu Aug  9 15:29:34 2012
New Revision: 161611

URL: http://llvm.org/viewvc/llvm-project?rev=161611&view=rev
Log:
Turn on function args by default in thread & frame formats.
<rdar://problem/11703715>

Modified:
    lldb/trunk/source/Core/Debugger.cpp
    lldb/trunk/test/functionalities/abbreviation/TestAbbreviations.py

Modified: lldb/trunk/source/Core/Debugger.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/Debugger.cpp?rev=161611&r1=161610&r2=161611&view=diff
==============================================================================
--- lldb/trunk/source/Core/Debugger.cpp (original)
+++ lldb/trunk/source/Core/Debugger.cpp Thu Aug  9 15:29:34 2012
@@ -2807,7 +2807,7 @@
     {  NULL, eSetVarTypeNone, NULL, NULL, 0, 0, NULL }
 };
 
-#define MODULE_WITH_FUNC "{ ${module.file.basename}{`${function.name}${function.pc-offset}}}"
+#define MODULE_WITH_FUNC "{ ${module.file.basename}{`${function.name-with-args}${function.pc-offset}}}"
 #define FILE_AND_LINE "{ at ${line.file.basename}:${line.number}}"
 
 #define DEFAULT_THREAD_FORMAT "thread #${thread.index}: tid = ${thread.id}"\

Modified: lldb/trunk/test/functionalities/abbreviation/TestAbbreviations.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/abbreviation/TestAbbreviations.py?rev=161611&r1=161610&r2=161611&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/abbreviation/TestAbbreviations.py (original)
+++ lldb/trunk/test/functionalities/abbreviation/TestAbbreviations.py Thu Aug  9 15:29:34 2012
@@ -133,7 +133,7 @@
                     patterns = [ "Process .* stopped",
                                  "thread #1:",
                                  "a.out",
-                                 "sum\(int, int\)",
+                                 "sum\(a=1238, b=78392\)",
                                  "at main.cpp\:25", 
                                  "stop reason = breakpoint 2.1" ])
 





More information about the lldb-commits mailing list