mchoo7 wrote: > 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. So as future work 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.
ppc64be doesn't have RegisterContextPosix support yet and ppc had issue with cpp casting IIRC. I will come back to those once I have time and motivation to do so. https://github.com/llvm/llvm-project/pull/180669 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
