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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to