diff options
9 files changed, 11 insertions, 11 deletions
diff --git a/lldb/include/lldb/Symbol/DWARFCallFrameInfo.h b/lldb/include/lldb/Symbol/DWARFCallFrameInfo.h index 08dc42e2d1d..34c71a799db 100644 --- a/lldb/include/lldb/Symbol/DWARFCallFrameInfo.h +++ b/lldb/include/lldb/Symbol/DWARFCallFrameInfo.h @@ -46,7 +46,7 @@ public: { public: - typedef enum Type + enum Type { unspecified, // not specified, we may be able to assume this is the same register. // gcc doesn't specify all initial values so we really don't know... diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp index 0fd53fe9c78..97387584d5f 100644 --- a/lldb/source/Commands/CommandObjectThread.cpp +++ b/lldb/source/Commands/CommandObjectThread.cpp @@ -332,7 +332,7 @@ protected: }; -typedef enum StepScope +enum StepScope { eStepScopeSource, eStepScopeInstruction diff --git a/lldb/source/Host/macosx/Host.mm b/lldb/source/Host/macosx/Host.mm index 0e1410eea0f..4aee4445b61 100644 --- a/lldb/source/Host/macosx/Host.mm +++ b/lldb/source/Host/macosx/Host.mm @@ -213,7 +213,7 @@ InitThreadCreated() ::pthread_key_create (&g_thread_create_key, MacOSXDarwinThread::PThreadDestructor); } -typedef struct HostThreadCreateInfo +struct HostThreadCreateInfo { std::string thread_name; thread_func_t thread_fptr; @@ -503,7 +503,7 @@ Host::ResolveExecutableInBundle (FileSpec *file) return false; } -typedef struct MonitorInfo +struct MonitorInfo { int handle; pthread_t thread; diff --git a/lldb/source/Plugins/Process/MacOSX-User/source/MacOSX/MachThreadContext_i386.cpp b/lldb/source/Plugins/Process/MacOSX-User/source/MacOSX/MachThreadContext_i386.cpp index 03b5c2a4fb2..d3ba88b45bd 100644 --- a/lldb/source/Plugins/Process/MacOSX-User/source/MacOSX/MachThreadContext_i386.cpp +++ b/lldb/source/Plugins/Process/MacOSX-User/source/MacOSX/MachThreadContext_i386.cpp @@ -166,7 +166,7 @@ MachThreadContext_i386::GetStackFrameData(StackFrame *first_frame, std::vector<s std::pair<lldb::addr_t, lldb::addr_t> fp_pc_pair; - typedef struct Frame_i386 + struct Frame_i386 { uint32_t fp; uint32_t pc; diff --git a/lldb/source/Plugins/Process/MacOSX-User/source/MacOSX/MachThreadContext_x86_64.cpp b/lldb/source/Plugins/Process/MacOSX-User/source/MacOSX/MachThreadContext_x86_64.cpp index 7eaa8f46aa2..2d11d5bd14a 100644 --- a/lldb/source/Plugins/Process/MacOSX-User/source/MacOSX/MachThreadContext_x86_64.cpp +++ b/lldb/source/Plugins/Process/MacOSX-User/source/MacOSX/MachThreadContext_x86_64.cpp @@ -179,7 +179,7 @@ MachThreadContext_x86_64::GetStackFrameData(StackFrame *first_frame, std::vector std::pair<lldb::addr_t, lldb::addr_t> fp_pc_pair; - typedef struct Frame_x86_64 + struct Frame_x86_64 { uint64_t fp; uint64_t pc; diff --git a/lldb/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_arm.h b/lldb/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_arm.h index 0305a1967e8..8ed25cf1a14 100644 --- a/lldb/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_arm.h +++ b/lldb/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_arm.h @@ -164,7 +164,7 @@ public: protected: - typedef enum + enum { GPRRegSet = 1, FPURegSet = 2, diff --git a/lldb/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_x86_64.h b/lldb/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_x86_64.h index 4f33bbdc2db..47ca1874f71 100644 --- a/lldb/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_x86_64.h +++ b/lldb/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_x86_64.h @@ -132,7 +132,7 @@ public: protected: - typedef enum + enum { GPRRegSet = 4, FPURegSet = 5, diff --git a/lldb/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp b/lldb/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp index 586e3d78864..1605a75ec7a 100644 --- a/lldb/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp +++ b/lldb/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp @@ -80,7 +80,7 @@ UnwindMacOSXFrameBackchain::GetStackFrameData_i386 (StackFrame *first_frame) std::pair<lldb::addr_t, lldb::addr_t> fp_pc_pair; - typedef struct Frame_i386 + struct Frame_i386 { uint32_t fp; uint32_t pc; @@ -168,7 +168,7 @@ UnwindMacOSXFrameBackchain::GetStackFrameData_x86_64 (StackFrame *first_frame) std::pair<lldb::addr_t, lldb::addr_t> fp_pc_pair; - typedef struct Frame_x86_64 + struct Frame_x86_64 { uint64_t fp; uint64_t pc; diff --git a/lldb/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.h b/lldb/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.h index 86ba6e7ae7f..435fda447eb 100644 --- a/lldb/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.h +++ b/lldb/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.h @@ -53,7 +53,7 @@ public: protected: friend class RegisterContextMacOSXFrameBackchain; - typedef struct Cursor + struct Cursor { lldb::addr_t pc; // Program counter lldb::addr_t fp; // Frame pointer for us with backchain |