summaryrefslogtreecommitdiffstats
path: root/lldb/scripts
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2010-06-12 15:34:20 +0000
committerGreg Clayton <gclayton@apple.com>2010-06-12 15:34:20 +0000
commitc0cc73efd47b24894506758c4a7b86dc671a065d (patch)
tree56850c03a188cd04a75e5cfbccbbc75275c13a0b /lldb/scripts
parent1ba811dd8114391c67743f0f7ecf517981668ae4 (diff)
downloadbcm5719-llvm-c0cc73efd47b24894506758c4a7b86dc671a065d.tar.gz
bcm5719-llvm-c0cc73efd47b24894506758c4a7b86dc671a065d.zip
Patched in Pawel Wodnicki's lldb.swig changes for linux compatability.
llvm-svn: 105884
Diffstat (limited to 'lldb/scripts')
-rw-r--r--lldb/scripts/lldb.swig15
1 files changed, 9 insertions, 6 deletions
diff --git a/lldb/scripts/lldb.swig b/lldb/scripts/lldb.swig
index d9fd05b8488..3d7d35a4ad5 100644
--- a/lldb/scripts/lldb.swig
+++ b/lldb/scripts/lldb.swig
@@ -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 @@ using namespace lldb_private;
%{
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"
OpenPOWER on IntegriCloud