Re: [PATCH 1/5] linux-user/alpha: write the floating-point registers to a core dump
Helge Deller <[email protected]>
| Newsgroups | gmane.comp.emulators.qemu |
|---|---|
| Message-ID | <[email protected]> |
On 8/5/26 19:15, Matt Turner wrote: > A guest core carried only the general-purpose registers, so a debugger > opening one reported every floating-point register as unavailable -- > including the arguments of the function that crashed. > > Implement HAVE_ELF_CORE_FPREGS for Alpha: define target_elf_fpregset_t > to match the kernel's layout ($f0-$f30 plus the control register in the > slot $f31 would occupy) and fill it from elf_core_copy_fpregs(). > > Checked with lldb on a core from a program that faults with live values > in $f16 and $f17: both read back correctly, as does the control register. > > Signed-off-by: Matt Turner <[email protected]> > --- > linux-user/alpha/elfload.c | 10 ++++++++++ > linux-user/alpha/target_elf.h | 11 +++++++++++ > 2 files changed, 21 insertions(+) For the whole series: Reviewed-by: Helge Deller <[email protected]> series queued up for past qemu-v11.1 Thanks! Helge