https://github.com/jrtc27 commented:

This looks plausible, though PowerPC is the FreeBSD architecture I'm least 
familiar with. It would be nice if this supported all PowerPC flavours, given 
they have the same PCB layout, so the only thing that needs parameterising is 
the type to map register_t to. However, it seems LLDB's current approach of 
duplicating the entire register enumeration between ppc64 and ppc64le (no 
32-bit it seems?), and curiously with some reordering and different extensions 
despite the architecture being the same between them, makes that difficult. I 
would suggest first unifying those two into a single "ppc" register set and 
then it should be trivial to support all of powerpc, powerpc64 and powerpc64le 
from FreeBSD with one implementation.

https://github.com/llvm/llvm-project/pull/180669
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to