[Lldb-commits] [lldb] r146128 - in /lldb/trunk/tools/debugserver/source/MacOSX/arm: DNBArchImpl.cpp DNBArchImpl.h

Jason Molenda jmolenda at apple.com
Wed Dec 7 17:59:17 PST 2011


Author: jmolenda
Date: Wed Dec  7 19:59:17 2011
New Revision: 146128

URL: http://llvm.org/viewvc/llvm-project?rev=146128&view=rev
Log:
Expose the DNBArchMachARM::DBG typedef, specify the type with the
class scoping in DumpDBGState()'s definiton.


Modified:
    lldb/trunk/tools/debugserver/source/MacOSX/arm/DNBArchImpl.cpp
    lldb/trunk/tools/debugserver/source/MacOSX/arm/DNBArchImpl.h

Modified: lldb/trunk/tools/debugserver/source/MacOSX/arm/DNBArchImpl.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/arm/DNBArchImpl.cpp?rev=146128&r1=146127&r2=146128&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/arm/DNBArchImpl.cpp (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/arm/DNBArchImpl.cpp Wed Dec  7 19:59:17 2011
@@ -252,7 +252,7 @@
 }
 
 static void
-DumpDBGState(const DBG& dbg)
+DumpDBGState(const DNBArchMachARM::DBG& dbg)
 {
     uint32_t i = 0;
     for (i=0; i<16; i++)

Modified: lldb/trunk/tools/debugserver/source/MacOSX/arm/DNBArchImpl.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/arm/DNBArchImpl.h?rev=146128&r1=146127&r2=146128&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/arm/DNBArchImpl.h (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/arm/DNBArchImpl.h Wed Dec  7 19:59:17 2011
@@ -76,6 +76,8 @@
     virtual bool            DisableHardwareWatchpoint (uint32_t hw_break_index);
     virtual bool            StepNotComplete ();
 
+    typedef arm_debug_state_t DBG;
+
 protected:
 
 
@@ -109,7 +111,6 @@
     typedef arm_thread_state_t GPR;
     typedef arm_vfp_state_t FPU;
     typedef arm_exception_state_t EXC;
-    typedef arm_debug_state_t DBG;
 
     static const DNBRegisterInfo g_gpr_registers[];
     static const DNBRegisterInfo g_vfp_registers[];





More information about the lldb-commits mailing list