diff options
author | Greg Clayton <gclayton@apple.com> | 2011-03-24 21:19:54 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-03-24 21:19:54 +0000 |
commit | e0d378b3340c67c774b0e27593347d9c521fe86f (patch) | |
tree | 0e9feb6c8b3e8bd3179da4bc14a571fa97edd45d /lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp | |
parent | dd9eb21c3fbbd9ffc5dc9a3598c452460b8e3c55 (diff) | |
download | bcm5719-llvm-e0d378b3340c67c774b0e27593347d9c521fe86f.tar.gz bcm5719-llvm-e0d378b3340c67c774b0e27593347d9c521fe86f.zip |
Fixed the LLDB build so that we can have private types, private enums and
public types and public enums. This was done to keep the SWIG stuff from
parsing all sorts of enums and types that weren't needed, and allows us to
abstract our API better.
llvm-svn: 128239
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp index 73d3535499a..556fa511b3a 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp @@ -92,7 +92,7 @@ GDBRemoteRegisterContext::GetRegisterCount () return m_reg_info.GetNumRegisters (); } -const lldb::RegisterInfo * +const RegisterInfo * GDBRemoteRegisterContext::GetRegisterInfoAtIndex (uint32_t reg) { return m_reg_info.GetRegisterInfoAtIndex (reg); @@ -106,7 +106,7 @@ GDBRemoteRegisterContext::GetRegisterSetCount () -const lldb::RegisterSet * +const RegisterSet * GDBRemoteRegisterContext::GetRegisterSet (uint32_t reg_set) { return m_reg_info.GetRegisterSet (reg_set); @@ -474,7 +474,7 @@ GDBRemoteRegisterContext::ConvertRegisterKindToRegisterNumber (uint32_t kind, ui void GDBRemoteDynamicRegisterInfo::HardcodeARMRegisters() { - static lldb::RegisterInfo + static RegisterInfo g_register_infos[] = { // NAME ALT SZ OFF ENCODING FORMAT COMPILER DWARF GENERIC GDB LLDB NATIVE @@ -555,7 +555,7 @@ GDBRemoteDynamicRegisterInfo::HardcodeARMRegisters() { "d30", NULL, 8, 420, eEncodingIEEE754, eFormatFloat, { LLDB_INVALID_REGNUM, dwarf_d30, LLDB_INVALID_REGNUM, LLDB_INVALID_REGNUM, 73 }}, { "d31", NULL, 8, 428, eEncodingIEEE754, eFormatFloat, { LLDB_INVALID_REGNUM, dwarf_d31, LLDB_INVALID_REGNUM, LLDB_INVALID_REGNUM, 74 }}, }; - static const uint32_t num_registers = sizeof (g_register_infos)/sizeof (lldb::RegisterInfo); + static const uint32_t num_registers = sizeof (g_register_infos)/sizeof (RegisterInfo); static ConstString gpr_reg_set ("General Purpose Registers"); static ConstString vfp_reg_set ("Floating Point Registers"); for (uint32_t i=0; i<num_registers; ++i) |