From: H.J. Lu Date: Sun, 11 Apr 2010 20:20:31 +0000 (+0000) Subject: Remove the unused variable in amd64-tdep.c. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=778c709509385810720a338fda836134f2ea824b;p=binutils-gdb.git Remove the unused variable in amd64-tdep.c. 2010-04-11 H.J. Lu * amd64-tdep.c (amd64_supply_xstateregset): Remove the unused tdep. (amd64_collect_xstateregset): Likewise. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7a42846e512..40a887148c2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2010-04-11 H.J. Lu + + * amd64-tdep.c (amd64_supply_xstateregset): Remove the unused + tdep. + (amd64_collect_xstateregset): Likewise. + 2010-04-09 Stan Shebs * tracepoint.c (trace_status_mi): Report frames created. diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c index 1aa49b9eef4..b0926ad04d2 100644 --- a/gdb/amd64-tdep.c +++ b/gdb/amd64-tdep.c @@ -2217,7 +2217,6 @@ amd64_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); amd64_supply_xsave (regcache, regnum, xstateregs); } @@ -2228,7 +2227,6 @@ amd64_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); amd64_collect_xsave (regcache, regnum, xstateregs, 1); }