[Lldb-commits] [lldb] [lldb] Claim to support swbreak and hwbreak packets when debugging a gdbremote (PR #102873)

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 13 09:17:08 PDT 2024


================
@@ -2354,6 +2354,9 @@ StateType ProcessGDBRemote::SetThreadStopInfo(StringExtractor &stop_packet) {
         if (!key.getAsInteger(16, reg))
           expedited_register_map[reg] = std::string(std::move(value));
       }
+      // swbreak and hwbreak are also expected keys, but we don't need to
+      // change our behaviour for them because lldb always expects the remote
+      // to adjust the program counter (if relevant, e.g., for x86 targets)
----------------
jasonmolenda wrote:

Please end the comment with a period.

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


More information about the lldb-commits mailing list