[Lldb-commits] [lldb] [lldb][windows] Plumb Windows DLL load/unload through lldb-server (PR #197901)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Mon May 18 07:43:51 PDT 2026


================
@@ -1054,6 +1054,9 @@ GDBRemoteCommunicationServerLLGS::PrepareStopReplyPacketForThread(
                     tid_stop_info.details.fork.child_tid);
   }
 
+  if (process.HasPendingLibraryEvents())
+    response.PutCString("library:1;");
----------------
DavidSpickett wrote:

If I read this right, 1 is the `r` that is described as ignored here - https://sourceware.org/gdb/current/onlinedocs/gdb.html/Stop-Reply-Packets.html

> The packet indicates that the loaded libraries have changed. GDB should use ‘qXfer:libraries:read’ to fetch a new list of loaded libraries. The r part is ignored.

Add a comment saying that it's an arbitrary value.

https://github.com/llvm/llvm-project/pull/197901


More information about the lldb-commits mailing list