diff options
author | Greg Clayton <gclayton@apple.com> | 2015-06-29 20:08:51 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2015-06-29 20:08:51 +0000 |
commit | 2e59d4fffeeb0aeaf2acfd9f79acec21690a7fee (patch) | |
tree | dfa624c6b78b6a377c81dc5ad39058b70144b927 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h | |
parent | b0257c8419cf6708c4a312d5095ff13a48bf3c13 (diff) | |
download | bcm5719-llvm-2e59d4fffeeb0aeaf2acfd9f79acec21690a7fee.tar.gz bcm5719-llvm-2e59d4fffeeb0aeaf2acfd9f79acec21690a7fee.zip |
More packet reduction when debugging with GDB server.
- Avoid sending the qfThreadInfo, qsThreadInfo packets if we have a stop reply packet with the threads already (save 2 round trip packets)
- Include the qname, qserial and qkind in the JSON info
- Report the qname, qserial and qkind to the thread so it can cache it to avoid many packets on MacOSX and iOS
- Don't clear all discoverable settings when we exec, just the ones we need to saves 1-5 packets for each exec.
llvm-svn: 240988
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h index d810d9ce2f1..0a5e4a8a41b 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h @@ -329,6 +329,9 @@ protected: bool CalculateThreadStopInfo (ThreadGDBRemote *thread); + size_t + UpdateThreadIDsFromStopReplyThreadsValue (std::string &value); + //------------------------------------------------------------------ /// Broadcaster event bits definitions. //------------------------------------------------------------------ @@ -402,7 +405,11 @@ protected: const std::string &description, uint32_t exc_type, const std::vector<lldb::addr_t> &exc_data, - lldb::addr_t thread_dispatch_qaddr); + lldb::addr_t thread_dispatch_qaddr, + bool queue_vars_valid, + std::string &queue_name, + lldb::QueueKind queue_kind, + uint64_t queue_serial); void HandleStopReplySequence (); |