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.
This commit is contained in:
Michael Snyder 2010-05-05 19:30:36 +00:00
parent 0f3b76ca4a
commit 90f6219628
3 changed files with 7 additions and 6 deletions

View File

@ -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>

View File

@ -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);
}

View File

@ -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;