[Lldb-commits] [PATCH] D52532: Pull GetSoftwareBreakpointPCOffset into base class

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sun Sep 30 08:58:35 PDT 2018

labath added a comment.

In https://reviews.llvm.org/D52532#1246173, @krytarowski wrote:

> I was wondering whether we want to normalize this inside the kernel and always advance the Program Counter.. but it's easier to manage it in userland.

I am generally in favour of keeping the kernel simple, particularly when ptrace is concerned. However, there is one difference in behaviour that annoys me. Right now, if an application itself inserts a trap into it's source code, on intel it will be easy to resume it from debugger simply by continuing. OTOH, on arm, the user will have to manually update the PC first. So I am not sure which is better here...


More information about the lldb-commits mailing list