clayborg added a comment.

The problem seemed to be we had a test case that was kind of bogus that was 
running attach commands with:

"target create ..." followed by "process launch". There was no synchronization 
before, but now that is. The problem is that the "process launch" was run, but 
the process could run to the exit stage before we synchronized with it. So it 
was correctly saying that the attach failed, because we weren't able to 
actually attach to the process as it had run to the exit point by the time we 
tried to attach. Fix this by adding "--stop-at-entry" to the "process launch" 
command which will ensure it does stop and it validly attached.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120755

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

Reply via email to