[Lldb-commits] [PATCH] D129814: Fix stepping over watchpoints in architectures that raise the exception before executing the instruction

Jason Molenda via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 15 00:06:01 PDT 2022


jasonmolenda added a comment.

I read through the patch and I'm not sure I have much useful feedback because I haven't worked on the ThreadPlan code very much, but this does look like what we were discussing for this.  I believe this patch will fix https://github.com/llvm/llvm-project/issues/48777 .  Regarding MIPS suport, in reading through the patch, I was reviewing relevant calls and saw this bit in `GDBRemoteCommunicationClient::GetWatchpointsTriggerAfterInstruction()` - so I believe you're right this change should also fix multithreaded watchpoint hitting on those targets.

  // On targets like MIPS and ppc64, watchpoint exceptions are always
  // generated before the instruction is executed. The connected target may
  // not support qHostInfo or qWatchpointSupportInfo packets.
  after = !(triple.isMIPS() || triple.isPPC64());


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129814/new/

https://reviews.llvm.org/D129814



More information about the lldb-commits mailing list