diff options
Diffstat (limited to 'gdb/i387-tdep.h')
-rw-r--r-- | gdb/i387-tdep.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/i387-tdep.h b/gdb/i387-tdep.h index e149e30..f939fb9 100644 --- a/gdb/i387-tdep.h +++ b/gdb/i387-tdep.h @@ -147,6 +147,11 @@ extern void i387_supply_fxsave (struct regcache *regcache, int regnum, extern bool i387_guess_xsave_layout (uint64_t xcr0, size_t xsave_size, x86_xsave_layout &layout); +/* Compute an XSAVE layout based on the XCR0 bitmask. This is used + as a fallback if a target does not provide an XSAVE layout. */ + +extern x86_xsave_layout i387_fallback_xsave_layout (uint64_t xcr0); + /* Similar to i387_supply_fxsave, but use XSAVE extended state. */ extern void i387_supply_xsave (struct regcache *regcache, int regnum, |