[Lldb-commits] [PATCH] D32930: New framework for lldb client-server communication tests.

Kamil Rytarowski via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu May 11 20:17:23 PDT 2017


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





More information about the lldb-commits mailing list