diff options
| author | Greg Clayton <gclayton@apple.com> | 2010-06-12 15:34:20 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2010-06-12 15:34:20 +0000 |
| commit | c0cc73efd47b24894506758c4a7b86dc671a065d (patch) | |
| tree | 56850c03a188cd04a75e5cfbccbbc75275c13a0b /lldb/scripts | |
| parent | 1ba811dd8114391c67743f0f7ecf517981668ae4 (diff) | |
| download | bcm5719-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.swig | 15 |
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" |

