[Lldb-commits] [lldb] r105884 - /lldb/trunk/scripts/lldb.swig

Greg Clayton gclayton at apple.com
Sat Jun 12 08:34:20 PDT 2010


Author: gclayton
Date: Sat Jun 12 10:34:20 2010
New Revision: 105884

URL: http://llvm.org/viewvc/llvm-project?rev=105884&view=rev
Log:
Patched in Pawel Wodnicki's lldb.swig changes for linux compatability.


Modified:
    lldb/trunk/scripts/lldb.swig

Modified: lldb/trunk/scripts/lldb.swig
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/lldb.swig?rev=105884&r1=105883&r2=105884&view=diff
==============================================================================
--- lldb/trunk/scripts/lldb.swig (original)
+++ lldb/trunk/scripts/lldb.swig Sat Jun 12 10:34:20 2010
@@ -65,7 +65,7 @@
 }
 
 
-/* The liblld header files to be included. */
+/* The liblldb header files to be included. */
 
 %{
 #include "lldb/lldb-types.h"
@@ -95,7 +95,6 @@
 #include "lldb/API/SBThread.h"
 #include "lldb/API/SBType.h"
 #include "lldb/API/SBValue.h"
-using namespace lldb;
 using namespace lldb_private;
 %}
 
@@ -103,19 +102,23 @@
 
 %{
 typedef unsigned int uint32_t;
-typedef unsigned long long uint64_t;
 typedef int int32_t;
-typedef int32_t pid_t;
 typedef uint32_t tid_t;
 typedef uint64_t addr_t;
+typedef int32_t break_id_t;
+typedef lldb::SBStringList SBStringList;
+typedef lldb::RegisterKind RegisterKind;
+const RegisterKind kNumRegisterKinds = lldb::kNumRegisterKinds ;
 %}
 
 typedef unsigned int uint32_t;
-typedef unsigned long long uint64_t;
 typedef int int32_t;
-typedef int32_t pid_t;
 typedef uint32_t tid_t;
 typedef uint64_t addr_t;
+typedef int32_t break_id_t;
+typedef lldb::SBStringList SBStringList;
+typedef lldb::RegisterKind RegisterKind;
+const RegisterKind kNumRegisterKinds = lldb::kNumRegisterKinds ;
 
 
 %include "lldb/API/SBAddress.h"





More information about the lldb-commits mailing list