diff options
author | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2014-05-05 12:58:11 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2014-05-21 17:49:16 +0200 |
commit | ecc37a5acc8ff504d62487149f61955343d35fcf (patch) | |
tree | 49b786b54bd3862532051e8b77f581d34e4a5809 /gdb/i386-tdep.h | |
parent | b7611c43bf5dcdc84b4432fccef22247af11449e (diff) | |
download | binutils-gdb-ecc37a5acc8ff504d62487149f61955343d35fcf.tar.gz |
X86: Replace regset_alloc() invocations by static regset structures.
After removal of the regset_alloc invocations, the appropriate tdep
fields become obsolete and are thus removed.
Diffstat (limited to 'gdb/i386-tdep.h')
-rw-r--r-- | gdb/i386-tdep.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/gdb/i386-tdep.h b/gdb/i386-tdep.h index 2ada2bd96dc..e0950a3f275 100644 --- a/gdb/i386-tdep.h +++ b/gdb/i386-tdep.h @@ -56,18 +56,13 @@ enum struct_return struct gdbarch_tdep { /* General-purpose registers. */ - struct regset *gregset; int *gregset_reg_offset; int gregset_num_regs; size_t sizeof_gregset; /* Floating-point registers. */ - struct regset *fpregset; size_t sizeof_fpregset; - /* XSAVE extended state. */ - struct regset *xstateregset; - /* Register number for %st(0). The register numbers for the other registers follow from this one. Set this to -1 to indicate the absence of an FPU. */ @@ -389,13 +384,8 @@ extern void i386_supply_gregset (const struct regset *regset, struct regcache *regcache, int regnum, const void *gregs, size_t len); -/* Collect register REGNUM from the register cache REGCACHE and store - it in the buffer specified by GREGS and LEN as described by the - general-purpose register set REGSET. If REGNUM is -1, do this for - all registers in REGSET. */ -extern void i386_collect_gregset (const struct regset *regset, - const struct regcache *regcache, - int regnum, void *gregs, size_t len); +/* General-purpose register set. */ +extern const struct regset i386_gregset; /* Return the appropriate register set for the core section identified by SECT_NAME and SECT_SIZE. */ |