[Lldb-commits] [lldb] r107794 - in /lldb/trunk: include/lldb/Symbol/ source/Commands/ source/Host/macosx/ source/Plugins/Process/MacOSX-User/source/ source/Plugins/Process/MacOSX-User/source/MacOSX/ source/Plugins/Process/Utility/

Greg Clayton gclayton at apple.com
Wed Jul 7 10:07:17 PDT 2010


Author: gclayton
Date: Wed Jul  7 12:07:17 2010
New Revision: 107794

URL: http://llvm.org/viewvc/llvm-project?rev=107794&view=rev
Log:
typedef fixups, patch from Jean-Daniel Dupas.


Modified:
    lldb/trunk/include/lldb/Symbol/DWARFCallFrameInfo.h
    lldb/trunk/source/Commands/CommandObjectThread.cpp
    lldb/trunk/source/Host/macosx/Host.mm
    lldb/trunk/source/Plugins/Process/MacOSX-User/source/MacOSX/MachThreadContext_i386.cpp
    lldb/trunk/source/Plugins/Process/MacOSX-User/source/MacOSX/MachThreadContext_x86_64.cpp
    lldb/trunk/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_arm.h
    lldb/trunk/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_x86_64.h
    lldb/trunk/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp
    lldb/trunk/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.h

Modified: lldb/trunk/include/lldb/Symbol/DWARFCallFrameInfo.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Symbol/DWARFCallFrameInfo.h?rev=107794&r1=107793&r2=107794&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Symbol/DWARFCallFrameInfo.h (original)
+++ lldb/trunk/include/lldb/Symbol/DWARFCallFrameInfo.h Wed Jul  7 12:07:17 2010
@@ -46,7 +46,7 @@
     {
     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...

Modified: lldb/trunk/source/Commands/CommandObjectThread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectThread.cpp?rev=107794&r1=107793&r2=107794&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectThread.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectThread.cpp Wed Jul  7 12:07:17 2010
@@ -332,7 +332,7 @@
 };
 
 
-typedef enum StepScope
+enum StepScope
 {
     eStepScopeSource,
     eStepScopeInstruction

Modified: lldb/trunk/source/Host/macosx/Host.mm
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/macosx/Host.mm?rev=107794&r1=107793&r2=107794&view=diff
==============================================================================
--- lldb/trunk/source/Host/macosx/Host.mm (original)
+++ lldb/trunk/source/Host/macosx/Host.mm Wed Jul  7 12:07:17 2010
@@ -213,7 +213,7 @@
     ::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 @@
     return false;
 }
 
-typedef struct MonitorInfo
+struct MonitorInfo
 {
     int handle;
     pthread_t thread;

Modified: lldb/trunk/source/Plugins/Process/MacOSX-User/source/MacOSX/MachThreadContext_i386.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/MacOSX-User/source/MacOSX/MachThreadContext_i386.cpp?rev=107794&r1=107793&r2=107794&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/MacOSX-User/source/MacOSX/MachThreadContext_i386.cpp (original)
+++ lldb/trunk/source/Plugins/Process/MacOSX-User/source/MacOSX/MachThreadContext_i386.cpp Wed Jul  7 12:07:17 2010
@@ -166,7 +166,7 @@
 
     std::pair<lldb::addr_t, lldb::addr_t> fp_pc_pair;
 
-    typedef struct Frame_i386
+    struct Frame_i386
     {
         uint32_t fp;
         uint32_t pc;

Modified: lldb/trunk/source/Plugins/Process/MacOSX-User/source/MacOSX/MachThreadContext_x86_64.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/MacOSX-User/source/MacOSX/MachThreadContext_x86_64.cpp?rev=107794&r1=107793&r2=107794&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/MacOSX-User/source/MacOSX/MachThreadContext_x86_64.cpp (original)
+++ lldb/trunk/source/Plugins/Process/MacOSX-User/source/MacOSX/MachThreadContext_x86_64.cpp Wed Jul  7 12:07:17 2010
@@ -179,7 +179,7 @@
 
     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;

Modified: lldb/trunk/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_arm.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_arm.h?rev=107794&r1=107793&r2=107794&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_arm.h (original)
+++ lldb/trunk/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_arm.h Wed Jul  7 12:07:17 2010
@@ -164,7 +164,7 @@
 
 protected:
 
-    typedef enum
+    enum
     {
         GPRRegSet = 1,
         FPURegSet = 2,

Modified: lldb/trunk/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_x86_64.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_x86_64.h?rev=107794&r1=107793&r2=107794&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_x86_64.h (original)
+++ lldb/trunk/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_x86_64.h Wed Jul  7 12:07:17 2010
@@ -132,7 +132,7 @@
 
 protected:
 
-    typedef enum
+    enum
     {
         GPRRegSet = 4,
         FPURegSet = 5,

Modified: lldb/trunk/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp?rev=107794&r1=107793&r2=107794&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp Wed Jul  7 12:07:17 2010
@@ -80,7 +80,7 @@
 
     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 @@
 
     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;

Modified: lldb/trunk/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.h?rev=107794&r1=107793&r2=107794&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.h (original)
+++ lldb/trunk/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.h Wed Jul  7 12:07:17 2010
@@ -53,7 +53,7 @@
 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





More information about the lldb-commits mailing list