[Lldb-commits] [lldb] r114557 - /lldb/trunk/test/types/basic_type.cpp
Johnny Chen
johnny.chen at apple.com
Wed Sep 22 10:46:07 PDT 2010
Author: johnny
Date: Wed Sep 22 12:46:07 2010
New Revision: 114557
URL: http://llvm.org/viewvc/llvm-project?rev=114557&view=rev
Log:
Changed to facilitate 'breakpoint set -n Puts', then 'thread step-out' to workaround
rdar://problem/8464339 test/types directory: b basic_type.cpp:171 does not work, while gdb does work.
Modified:
lldb/trunk/test/types/basic_type.cpp
Modified: lldb/trunk/test/types/basic_type.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/types/basic_type.cpp?rev=114557&r1=114556&r2=114557&view=diff
==============================================================================
--- lldb/trunk/test/types/basic_type.cpp (original)
+++ lldb/trunk/test/types/basic_type.cpp Wed Sep 22 12:46:07 2010
@@ -82,6 +82,11 @@
#include <stdint.h>
#include <stdio.h>
+void Puts(char const *msg)
+{
+ puts(msg);
+}
+
int
main (int argc, char const *argv[])
{
@@ -168,6 +173,6 @@
printf ("(a_union_zero_t[]) a_union_zero_array_unbounded[1].a = '" T_PRINTF_FORMAT "'\n", a_union_zero_array_unbounded[1].a);
#endif
- puts ("About to exit, break here to check values...");
+ Puts("About to exit, break here to check values...");
return 0;
}
More information about the lldb-commits
mailing list