[Lldb-commits] [PATCH] Expect stop reason watchpoint for the step over breakpoint thread plan

Jim Ingham jingham at apple.com
Thu Mar 5 16:41:36 PST 2015

Do you get any data back from the watchpoint hit?  For instance, if the trace is implemented by a "pc != curr_pc" type watch, then you should be able to get the watched address from the watchpoint hit event.  In that case, you can check whether the watched address was the current PC, and only report this as a trace stop when that is true.

Another way to do this, if you are using llgs, is to have THAT guy convert the watchpoint hit into a trace event.  llgs is closer to the metal, and might have a better chance to figure out what just went on.



More information about the lldb-commits mailing list