diff options
author | Steve Pucci <spucci@google.com> | 2014-03-04 23:18:46 +0000 |
---|---|---|
committer | Steve Pucci <spucci@google.com> | 2014-03-04 23:18:46 +0000 |
commit | 03904accc0ac27177867f6f4a28b080bb604011f (patch) | |
tree | a622d33d7b87a7a25acb504c3fe39e6e978f6988 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h | |
parent | 7a5830294f69089d1a17af34053bb8ab502be052 (diff) | |
download | llvm-03904accc0ac27177867f6f4a28b080bb604011f.zip llvm-03904accc0ac27177867f6f4a28b080bb604011f.tar.gz llvm-03904accc0ac27177867f6f4a28b080bb604011f.tar.bz2 |
Add ProcessGDBRemote::GetAuxvData() and fix multiple-packet concatenation for binary data.
ProcessGDBRemote::GetAuxvData obtains the auxv from a remote gdbserver (via a binary-data packet), and returns the data as a DataBufferSP.
The patch includes a small fix to GDBRemoteCommunicationClient::SendPacketsAndConcatenateResponses() to support binary file format packet returns (by not assuming each binary packet is a null-terminated string when concatenating them).
llvm-svn: 202907
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h index 9331775..1d4a235 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h @@ -299,6 +299,9 @@ protected: bool ParseRegisters(lldb_private::ScriptInterpreterObject *registers_array); + virtual const lldb::DataBufferSP + GetAuxvData(); + //------------------------------------------------------------------ /// Broadcaster event bits definitions. //------------------------------------------------------------------ |