[Lldb-commits] [lldb] [llvm] [lldb][Process/FreeBSDKernelCore] Add ppc64le support (PR #180669)

Minsoo Choo via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 27 04:44:42 PST 2026


mchoo7 wrote:

> Assuming FreeBSD follows https://refspecs.linuxfoundation.org/ELF/ppc64/PPC-elf64abi.html#REG, the register lookup into the pcb makes sense to me.
> 
> I got on a side track wondering why not all registers are saved in the pcb. From what I've read, some registers are saved in the memory of the process itself, and the rest are in the pcb.
> 
> Are those assumptions correct?
> 
> There's no support here for the FPU and I assume that's intentional. If so please say that in the description. "I am not implementing FPU support at this time." is fine.

It does saves fpu and vector registers in pcb (https://github.com/freebsd/freebsd-src/blob/main/sys/powerpc/include/pcb.h) but I don't know why kgdb didn't implement this. I asked other FreeBSD devs and hopefully they can answer my question. If FPU support was simply forgotten, I'll update the PR.

https://github.com/llvm/llvm-project/pull/180669


More information about the lldb-commits mailing list