aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gdb/ChangeLog10
-rw-r--r--gdb/i386-tdep.c2
-rw-r--r--gdb/i387-tdep.c1
3 files changed, 7 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0be43db..ba00c5c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,13 +1,17 @@
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.
+
* features/i386/i386-mmx.c (initialize_tdesc_i386_mmx):
Delete unused variable 'type'.
2010-05-05 Joel Brobecker <brobecker@adacore.com>
- * gdbtypes.h (MAX_OF_TYPE, MIN_OF_TYPE): Delete macros.
- * ada-lang.c: Remove comment mentioning these macros.
- * m2-exp.y: Delete commented out code.
+ * gdbtypes.h (MAX_OF_TYPE, MIN_OF_TYPE): Delete macros. *
+ ada-lang.c: Remove comment mentioning these macros. * m2-exp.y:
+ Delete commented out code.
2010-05-05 Joel Brobecker <brobecker@adacore.com>
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);
}
diff --git a/gdb/i387-tdep.c b/gdb/i387-tdep.c
index 6dc9c2c..1af66c5 100644
--- a/gdb/i387-tdep.c
+++ b/gdb/i387-tdep.c
@@ -205,7 +205,6 @@ i387_print_float_info (struct gdbarch *gdbarch, struct ui_file *file,
struct frame_info *frame, const char *args)
{
struct gdbarch_tdep *tdep = gdbarch_tdep (get_frame_arch (frame));
- gdb_byte buf[4];
ULONGEST fctrl;
ULONGEST fstat;
ULONGEST ftag;