[Lldb-commits] [PATCH] D11187: Add jThreadsInfo support to lldb-server

Pavel Labath labath at google.com
Tue Jul 14 07:35:10 PDT 2015


labath created this revision.
labath added reviewers: clayborg, ovyalov, tberghammer.
labath added a subscriber: lldb-commits.

This commit adds initial support for the jThreadsInfo packet to lldb-server. The current
implementation does not expedite inferior memory. It also does not send over all GPR, but only
the most important ones (PC, SP, FP, RA), as for some reasons writing the registers is incredibly
slow in lldb-server (I intend to investigate this further). Nevertheless, this implementation
speeds up stepping of a heavily multi-threaded inferior significantly (about 50%).

I have also added a description of the new packet to our protocol documentation (mostly taken
from Greg's earlier commit message).

http://reviews.llvm.org/D11187

Files:
  docs/lldb-gdb-remote.txt
  source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
  source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h
  source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
  source/Utility/StringExtractorGDBRemote.cpp
  source/Utility/StringExtractorGDBRemote.h
  test/functionalities/thread/concurrent_events/TestConcurrentEvents.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11187.29676.patch
Type: text/x-patch
Size: 15435 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150714/ca7cf241/attachment.bin>


More information about the lldb-commits mailing list