summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2017-01-20 14:17:16 +0000
committerPavel Labath <labath@google.com>2017-01-20 14:17:16 +0000
commite0a5b575a6e6b4c70a8bc0e947109199e90bacac (patch)
tree2e838635d907678fff326145825ae22c11d0d98f /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
parent2817b476e8b2356418f98bc3538d868214516b83 (diff)
downloadbcm5719-llvm-e0a5b575a6e6b4c70a8bc0e947109199e90bacac.tar.gz
bcm5719-llvm-e0a5b575a6e6b4c70a8bc0e947109199e90bacac.zip
Prevent client from querying each thread's PC at each stop.
Summary: The server was no longer sending the thread PCs the way the client expected them. I changed the server to send them back as a threadstop info field, similar to the Apple version of the server. I also changed the client to look for them there, before querying the server. I added a test to ensure the server doesn't stop sending them. Reviewed By: labath Differential Revision: https://reviews.llvm.org/D28880 Author: Jason Majors llvm-svn: 292611
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
index 6423abc5583..1ecd58224c0 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
@@ -417,6 +417,7 @@ private:
void HandleStopReply() override;
void HandleAsyncStructuredDataPacket(llvm::StringRef data) override;
+ void SetThreadPc(const lldb::ThreadSP &thread_sp, uint64_t index);
using ModuleCacheKey = std::pair<std::string, std::string>;
// KeyInfo for the cached module spec DenseMap.
// The invariant is that all real keys will have the file and architecture
OpenPOWER on IntegriCloud