[Lldb-commits] [PATCH] D133352: [lldb-server] Report launch error in vRun packets

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 6 06:44:51 PDT 2022


labath created this revision.
labath added reviewers: mgorny, rupprecht.
Herald added a project: All.
labath requested review of this revision.
Herald added a project: LLDB.

Uses our existing "error string" extension to provide a better
indication of why the launch failed (the client does not make use of the
error yet).

Also, fix the way we obtain the launch error message (make sure we read
the whole message, and skip trailing garbage), and reduce the size of
TestLldbGdbServer by splitting some tests into a separate file.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D133352

Files:
  lldb/source/Host/posix/ProcessLauncherPosixFork.cpp
  lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
  lldb/test/API/tools/lldb-server/TestGdbRemoteLaunch.py
  lldb/test/API/tools/lldb-server/TestLldbGdbServer.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133352.458158.patch
Type: text/x-patch
Size: 14454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220906/8c4c6d3f/attachment.bin>


More information about the lldb-commits mailing list