DavidSpickett wrote:

> Thanks @DavidSpickett just to be sure, this is armv7 right, not AArch32?

This is an AArch32 container on Armv8. I'm not sure if lldb-server knows the 
difference though. Maybe it doesn't need to, and ptrace single step is done in 
the kernel which uses the h/w step.

But it looks like it may software single step on any Arm, v7 and v8...

> debugserver uses the hardware breakpoint because we know we have that feature 
> on our armv7 darwin cores, but it looks like lldb-server on armv7 linux will 
> be entirely software based.

> I don't know how much lldb distinguishes between AArch32 and armv7, but this 
> is one important difference.

The single step code you posted doesn't seem to make a distinction. This is 
perhaps why we saw armv7 style behaviour on AArch32.

https://github.com/llvm/llvm-project/pull/96260
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to