summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
diff options
context:
space:
mode:
authorEwan Crawford <ewan@codeplay.com>2015-05-13 09:18:18 +0000
committerEwan Crawford <ewan@codeplay.com>2015-05-13 09:18:18 +0000
commit78baa19781920bf2b1332ffd1a88884bd2ba42be (patch)
treed3052f7dd08a7de25cb85783365d8c774d979c9b /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
parentacf20fa233d680e6855e67b65c66c59a7d9ddf22 (diff)
downloadbcm5719-llvm-78baa19781920bf2b1332ffd1a88884bd2ba42be.tar.gz
bcm5719-llvm-78baa19781920bf2b1332ffd1a88884bd2ba42be.zip
Remote Non-Stop Support
Summary: This patch is the beginnings of support for Non-stop mode in the remote protocol. Letting a user examine stopped threads, while other threads execute freely. Non-stop mode is enabled using the setting target.non-stop-mode, which sends a QNonStop packet when establishing the remote connection. Changes are also made to treat the '?' stop reply packet differently in non-stop mode, according to spec https://sourceware.org/gdb/current/onlinedocs/gdb/Remote-Non_002dStop.html#Remote-Non_002dStop. A setting for querying the remote for default thread on setup is also included. Handling of '%' async notification packets will be added next. Reviewers: clayborg Subscribers: lldb-commits, ADodds, ted, deepak2427 Differential Revision: http://reviews.llvm.org/D9656 llvm-svn: 237239
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
index 10072730e74..99b29a92423 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
@@ -318,6 +318,9 @@ public:
bool
GetHostInfo (bool force = false);
+
+ bool
+ GetDefaultThreadId (lldb::tid_t &tid);
bool
GetOSVersion (uint32_t &major,
@@ -393,6 +396,9 @@ public:
lldb::addr_t addr, // Address of breakpoint or watchpoint
uint32_t length); // Byte Size of breakpoint or watchpoint
+ bool
+ SetNonStopMode (const bool enable);
+
void
TestPacketSpeed (const uint32_t num_packets);
OpenPOWER on IntegriCloud