[Lldb-commits] [lldb] r155644 - /lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
Greg Clayton
gclayton at apple.com
Thu Apr 26 10:33:20 PDT 2012
Author: gclayton
Date: Thu Apr 26 12:33:20 2012
New Revision: 155644
URL: http://llvm.org/viewvc/llvm-project?rev=155644&view=rev
Log:
Patch from Filipe Cabecinhas.
Modified:
lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp?rev=155644&r1=155643&r2=155644&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp Thu Apr 26 12:33:20 2012
@@ -362,16 +362,12 @@
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(),
More information about the lldb-commits
mailing list