[Lldb-commits] [lldb] Implement reportsOriginalInstructions GDB remote feature (PR #201176)

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 9 15:46:24 PDT 2026


================
@@ -3703,7 +3703,7 @@ rnb_err_t RNBRemote::HandlePacket_qSupported(const char *p) {
   std::stringstream reply;
   reply << "qXfer:features:read+;PacketSize=" << std::hex << max_packet_size
         << ";";
-  reply << "qEcho+;native-signals+;";
+  reply << "qEcho+;native-signals+;reportsOriginalInstructions+;";
----------------
jasonmolenda wrote:

Is this changing debugserver to report that it can report original instructions, but without any changes to actually do that?  debugserver is the stub used on Darwin systems (macOS, iOS etc); most other targets use lldb-server (see GDBRemoteCommunicationServerLLGS.cpp)

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


More information about the lldb-commits mailing list