diff options
author | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2014-05-13 11:05:57 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2014-05-21 17:49:15 +0200 |
commit | 09424cff8c26073312e0bdc342989a955c766e31 (patch) | |
tree | e219a564fa56a47ef17b5d75cc47373d9a8b64c4 /gdb/ChangeLog | |
parent | 3ca7dae4ddfb3363458d866428e45fb5e9b6914b (diff) | |
download | gdb-09424cff8c26073312e0bdc342989a955c766e31.zip gdb-09424cff8c26073312e0bdc342989a955c766e31.tar.gz gdb-09424cff8c26073312e0bdc342989a955c766e31.tar.bz2 |
Remove 'arch' field from regset structure.
Removes the 'arch' field from the regset structure, since it
represents the only "dynamic" data in a regset. It was referenced in
some regset supply- and collect routines, to get access to the gdbarch
associated with the regset. Naturally, the affected routines always
have access to the regcache to be supplied to or collected from. Thus
the gdbarch associated with that regcache can be used instead.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 38cd57c..d329143 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,23 @@ 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> + * regset.h (struct regset): Remove gdbarch field. + * regset.c (regset_alloc): Drop initialization of gdbarch field. + * nios2-linux-tdep.c (nios2_core_regset): Likewise. + * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset): + Likewise. + * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset) + (ppc32_linux_fpregset, ppc32_linux_vrregset) + (ppc32_linux_vsxregset): Likewise. + * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch + via the regcache instead of the regset. + * i386-tdep.c (i386_supply_gregset, i386_collect_gregset) + (i386_supply_fpregset, i386_collect_fpregset): Likewise. + * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise. + * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset): + Likewise. + +2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> + * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset): Constify structures. * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset) |