[Lldb-commits] [PATCH] D111964: [lldb] [lldb-server] Support listening on serial://

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 18 00:55:21 PDT 2021


labath added a comment.

What's the test strategy for this?

> This is not fully functional yet, as lldb-server
> crashes when attempting to send long packets (e.g. target.xml contents).

I am guessing you'll also want to disable QStartNoAckMode for these connections (?)



================
Comment at: lldb/tools/lldb-server/lldb-gdbserver.cpp:231
 
-    if (reverse_connect) {
+    bool is_serial = host_and_port.startswith("serial://");
+    if (reverse_connect || is_serial) {
----------------
Maybe we should have this accept any lldb "URL", and have the host:port support be a special case of "legacy" connection strings?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111964/new/

https://reviews.llvm.org/D111964



More information about the lldb-commits mailing list