From c32e5c9bc22f3949bad167782cb8d0fc8b55887a Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Thu, 26 Apr 2012 17:33:20 +0000 Subject: Patch from Filipe Cabecinhas. llvm-svn: 155644 --- lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp') 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(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(), -- cgit v1.2.3