linux-user: write the x86 floating-point registers to a core dump
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | target/i386: split the FNINIT out of do_fsave()target/ target/ | +13 | 0 replies | |
| 2/3 | linux-user/i386: write the floating-point registers to a core dumplinux-user/ linux-user/ | +25 | 0 replies | |
| 3/3 | linux-user/x86_64: write the floating-point registers to a core dumplinux-user/ linux-user/ | +31 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] linux-user: write the x86 floating-point registers to a core dump
Guest cores for i386 and x86_64 carried only the general-purpose registers, so a debugger opening one reported the x87 stack, and on x86_64 the SSE registers too, as unavailable.
These add HAVE_ELF_CORE_FPREGS for both, following the same shape as the recent alpha, mips, riscv and sh4 conversions. x86_64 can reuse cpu_x86_fxsave() as-is; i386 needs the FSAVE image without the FNINIT that FSAVE performs afterward, so the first patch splits that out.
The SSE registers are still missing from an i386 core: the kernel puts those in a separate NT_PRXFPREG note, which the generic core dump code has no support for.
Matt Turner (3):
target/i386: split the FNINIT out of do_fsave() linux-user/i386: write the floating-point registers to a core dump linux-user/x86_64: write the floating-point registers to a core dump
linux-user/i386/elfload.c | 7 +++++++ linux-user/i386/target_elf.h | 18 ++++++++++++++++++ linux-user/x86_64/elfload.c | 11 +++++++++++ linux-user/x86_64/target_elf.h | 20 ++++++++++++++++++++ target/i386/cpu.h | 2 ++ target/i386/tcg/fpu_helper.c | 13 +++++++++++-- 6 files changed, 69 insertions(+), 2 deletions(-)
Signature · 1 line
2.54.0