krytarowski added a comment.

Personally I would rely on LLDB feature to set software/hardware breakpoint in 
tracee, and never simulate debugtrap with some predefined value.

This will ensure portability to more CPUs and operating systems. For example 
Sun SPARC CPUs (at least on NetBSD) won't pass PC after software breakpoint 
embedded into a tracee and will loop infinitely whenever we will try to resume 
execution.


https://reviews.llvm.org/D32930



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

Reply via email to