diff options
author | Greg Clayton <gclayton@apple.com> | 2012-04-26 17:33:20 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2012-04-26 17:33:20 +0000 |
commit | c32e5c9bc22f3949bad167782cb8d0fc8b55887a (patch) | |
tree | f2d4ec68180d84b73091863128ee3daf8a582666 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp | |
parent | 512034b8bd9fb90cc559863399d9533f135683b5 (diff) | |
download | bcm5719-llvm-c32e5c9bc22f3949bad167782cb8d0fc8b55887a.tar.gz bcm5719-llvm-c32e5c9bc22f3949bad167782cb8d0fc8b55887a.zip |
Patch from Filipe Cabecinhas.
llvm-svn: 155644
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp index a9b4e2b961e..5de7b495740 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp @@ -362,16 +362,12 @@ GDBRemoteRegisterContext::WriteRegisterBytes (const lldb_private::RegisterInfo * ProcessSP process_sp (m_thread.GetProcess()); if (thread_suffix_supported || static_cast<ProcessGDBRemote *>(process_sp.get())->GetGDBRemote().SetCurrentThread(m_thread.GetID())) { - uint32_t offset, end_offset; StreamString packet; StringExtractorGDBRemote response; if (m_read_all_at_once) { // Set all registers in one packet packet.PutChar ('G'); - offset = 0; - end_offset = m_reg_data.GetByteSize(); - packet.PutBytesAsRawHex8 (m_reg_data.GetDataStart(), m_reg_data.GetByteSize(), lldb::endian::InlHostByteOrder(), |