qemu/linux-user/alpha
Matt Turner 2304a65529 linux-user/alpha: write the floating-point registers to a core dump
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 <mattst88@gmail.com>
Reviewed-by: Helge Deller <deller@gmx.de>
Signed-off-by: Helge Deller <deller@gmx.de>
2026-08-07 18:14:13 +02:00
..
cpu_loop.c linux-user: make syscall emulation interruptible 2026-03-05 10:54:09 -08:00
elfload.c linux-user/alpha: write the floating-point registers to a core dump 2026-08-07 18:14:13 +02:00
meson.build meson: linux-user 2020-08-21 06:30:38 -04:00
signal.c linux-user: Move tswap_siginfo out of target code 2024-03-13 11:43:52 +00:00
sockbits.h linux-user: Define SO_TIMESTAMP*_NEW and SO_RCVTIMEIO_NEW 2026-04-25 00:38:32 +02:00
syscall.tbl target/ppc: Fix lxvx/stxvx facility check 2024-09-27 10:32:29 +01:00
syscallhdr.sh license: Update deprecated SPDX tag GPL-2.0 to GPL-2.0-only 2024-09-20 10:11:59 +03:00
target_cpu.h linux user: Fix Lesser GPL version number 2020-11-15 16:41:26 +01:00
target_elf.h linux-user/alpha: write the floating-point registers to a core dump 2026-08-07 18:14:13 +02:00
target_errno_defs.h linux-user/alpha: Move errno definitions to 'target_errno_defs.h' 2021-07-12 21:53:35 +02:00
target_fcntl.h linux-user: Add missing TARGET___O_TMPFILE for hppa and alpha 2021-02-13 22:50:49 +01:00
target_mman.h linux-user: Define ELF_ET_DYN_BASE in $guest/target_mman.h 2023-08-08 13:27:15 -07:00
target_prctl.h target/alpha: Implement prctl_unalign_sigbus 2022-01-06 11:40:52 +01:00
target_proc.h all: Clean up includes 2026-01-22 11:23:31 +00:00
target_resource.h linux-user: Move generic TARGET_RLIMIT* definitions to generic/target_resource.h 2022-02-01 08:01:38 +01:00
target_signal.h linux-user: Remove TARGET_SIGSTKSZ 2022-01-06 11:40:52 +01:00
target_structs.h linux user: Fix Lesser GPL version number 2020-11-15 16:41:26 +01:00
target_syscall.h linux-user: Remove target_pt_regs from target_syscall.h 2025-08-30 07:04:04 +10:00
termbits.h linux-user: Add missing termios baud rates 2026-01-23 20:40:15 +01:00