aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-tdep.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-05 19:30:36 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-05 19:30:36 +0000
commit90f62196288735e7fd88336b5cc86bbb2cdd3249 (patch)
treed243d22d73c7e573a17f259d76ef4f91a4ec13a8 /gdb/i386-tdep.c
parent0f3b76ca4a2d265954fe6bafaa9d3b1f46142914 (diff)
downloadgdb-90f62196288735e7fd88336b5cc86bbb2cdd3249.zip
gdb-90f62196288735e7fd88336b5cc86bbb2cdd3249.tar.gz
gdb-90f62196288735e7fd88336b5cc86bbb2cdd3249.tar.bz2
2010-05-05 Michael Snyder <msnyder@vmware.com>
* i386-tdep.c (i386_supply_xstateregset) Delete unused variable. (i386_collect_xstateregset): Delete unused variable. * i387-tdep.c (i387_print_float_info): Delete unused variable.
Diffstat (limited to 'gdb/i386-tdep.c')
-rw-r--r--gdb/i386-tdep.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c
index 1b31acc..67cdee4 100644
--- a/gdb/i386-tdep.c
+++ b/gdb/i386-tdep.c
@@ -2736,7 +2736,6 @@ i386_supply_xstateregset (const struct regset *regset,
struct regcache *regcache, int regnum,
const void *xstateregs, size_t len)
{
- const struct gdbarch_tdep *tdep = gdbarch_tdep (regset->arch);
i387_supply_xsave (regcache, regnum, xstateregs);
}
@@ -2747,7 +2746,6 @@ i386_collect_xstateregset (const struct regset *regset,
const struct regcache *regcache,
int regnum, void *xstateregs, size_t len)
{
- const struct gdbarch_tdep *tdep = gdbarch_tdep (regset->arch);
i387_collect_xsave (regcache, regnum, xstateregs, 1);
}