diff options
author | Chaoren Lin <chaorenl@google.com> | 2015-06-23 03:17:01 +0000 |
---|---|---|
committer | Chaoren Lin <chaorenl@google.com> | 2015-06-23 03:17:01 +0000 |
commit | 7a30608026825c7c558f029384d257d016992775 (patch) | |
tree | a01e080331f15f194376c62d6e8e1748190f0858 /lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp | |
parent | 7e37afb77e067ce939f101955bf88d8ef8df389c (diff) | |
download | bcm5719-llvm-7a30608026825c7c558f029384d257d016992775.tar.gz bcm5719-llvm-7a30608026825c7c558f029384d257d016992775.zip |
Revert "Reduced packet counts to the remote GDB server where possible."
This reverts commit 0cc0745ea9c68d7fdcadc9904cee3f13c96dae60.
Due to breakage on Linux build bot:
http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-cmake/builds/3436
llvm-svn: 240371
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp index 74b51fd917c..e4108edc03f 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp @@ -284,7 +284,12 @@ ThreadGDBRemote::CalculateStopInfo () { ProcessSP process_sp (GetProcess()); if (process_sp) - return static_cast<ProcessGDBRemote *>(process_sp.get())->CalculateThreadStopInfo(this); + { + StringExtractorGDBRemote stop_packet; + ProcessGDBRemote *gdb_process = static_cast<ProcessGDBRemote *>(process_sp.get()); + if (gdb_process->GetGDBRemote().GetThreadStopInfo(GetProtocolID(), stop_packet)) + return gdb_process->SetThreadStopInfo (stop_packet) == eStateStopped; + } return false; } |