From 90f62196288735e7fd88336b5cc86bbb2cdd3249 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Wed, 5 May 2010 19:30:36 +0000 Subject: [PATCH] 2010-05-05 Michael Snyder * 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. --- gdb/ChangeLog | 10 +++++++--- gdb/i386-tdep.c | 2 -- gdb/i387-tdep.c | 1 - 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0be43db9eca..ba00c5c0679 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,13 +1,17 @@ 2010-05-05 Michael Snyder + * 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 - * 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 diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index 1b31acce510..67cdee4ac1f 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 6dc9c2c5f60..1af66c5a84e 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; -- 2.30.2