Expose the DNBArchMachARM::DBG typedef, specify the type with the

class scoping in DumpDBGState()'s definiton.

llvm-svn: 146128
This commit is contained in:
Jason Molenda 2011-12-08 01:59:17 +00:00
parent 831411f42b
commit a86588c4b0
2 changed files with 3 additions and 2 deletions

View File

@ -252,7 +252,7 @@ DNBArchMachARM::GetEXCState(bool force)
}
static void
DumpDBGState(const DBG& dbg)
DumpDBGState(const DNBArchMachARM::DBG& dbg)
{
uint32_t i = 0;
for (i=0; i<16; i++)

View File

@ -76,6 +76,8 @@ public:
virtual bool DisableHardwareWatchpoint (uint32_t hw_break_index);
virtual bool StepNotComplete ();
typedef arm_debug_state_t DBG;
protected:
@ -109,7 +111,6 @@ protected:
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[];