diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-01-28 11:14:37 -0800 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-01-28 11:14:37 -0800 |
commit | 7384826ebff8a91a3f9b632e9e3982760fab966e (patch) | |
tree | c1a7e3eff5562eeec53ac44686864a8873fbfb4a /gdb/i386-tdep.h | |
parent | a423c9f39294b5cc6f658a145f3844d19f3f3cf1 (diff) | |
download | binutils-gdb-7384826ebff8a91a3f9b632e9e3982760fab966e.tar.gz |
FreeBSD x86: Use tramp-frame for signal frames.
Use a register map to describe the registers in mcontext_t as part of
the signal frame as is done on several other FreeBSD arches. This
permits fetching the fsbase and gsbase register values from the signal
frame for both amd64 and i386 and permits fetching additional segment
registers stored as 16-bit values on amd64.
While signal frames on FreeBSD do contain floating point/XSAVE state,
these unwinders do not attempt to supply those registers. The
existing x86 signal frame uwinders do not support these registers, and
the only existing functions which handle FSAVE/FXSAVE/XSAVE state all
work with regcaches. In the future these unwinders could create a
tempory regcache, collect floating point registers, and then supply
values out of the regcache into the trad-frame.
Diffstat (limited to 'gdb/i386-tdep.h')
-rw-r--r-- | gdb/i386-tdep.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/i386-tdep.h b/gdb/i386-tdep.h index 62d94da53b0..eb58dd68e73 100644 --- a/gdb/i386-tdep.h +++ b/gdb/i386-tdep.h @@ -474,7 +474,6 @@ extern int i386_mpx_enabled (void); extern void i386bsd_init_abi (struct gdbarch_info, struct gdbarch *); extern CORE_ADDR i386obsd_sigtramp_start_addr; extern CORE_ADDR i386obsd_sigtramp_end_addr; -extern int i386fbsd_sc_reg_offset[]; extern int i386obsd_sc_reg_offset[]; extern int i386bsd_sc_reg_offset[]; |