jarin added a comment.

In D74398#1935438 <https://reviews.llvm.org/D74398#1935438>, @jasonmolenda 
wrote:

> (and if you're still seeing mystery reads, put a breakpoint on 
> ProcessGDBRemote::DoReadMemory and see who is doing it)


Thanks for the great explanations! I did put a breakpoint into DoReadMemory, 
and the unwinder doing the reads for each thread (called from 
https://github.com/llvm/llvm-project/blob/master/lldb/source/Target/ThreadList.cpp#L349).
 If I understand correctly, the Thread::WillStop/SelectMostRelevantFrame should 
care only about the current PC of each thread, but not about the stack 
contents. Let me double check that.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74398



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to