================
@@ -1159,6 +1159,40 @@ class StopInfoUnixSignal : public StopInfo {
return false;
}
+ void PerformAction(Event *event_ptr) override {
+ // A signal of SIGTRAP indicates that a break instruction has been hit
+ if (m_value == SIGTRAP) {
+ Log *log = GetLog(LLDBLog::Process);
+ Status error;
+ std::array<uint8_t, 4> bytes_at_pc = {0, 0, 0, 0};
----------------
DuncanMcBain wrote:
Yes, that's exactly correct, but the comment could be clearer. I'll add words
to the effect that we don't expect 5+ byte sequences as-is today. That said I'm
now worried about your second point. I don't _know_ that your second point has
to be true and I hadn't really considered it while trying to fix this.
https://github.com/llvm/llvm-project/pull/174348
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits