Remove 'arch' field from regset structure.
authorAndreas Arnez <arnez@linux.vnet.ibm.com>
Tue, 13 May 2014 11:05:57 +0000 (11:05 +0000)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Wed, 21 May 2014 15:49:15 +0000 (17:49 +0200)
commit09424cff8c26073312e0bdc342989a955c766e31
treee219a564fa56a47ef17b5d75cc47373d9a8b64c4
parent3ca7dae4ddfb3363458d866428e45fb5e9b6914b
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.
gdb/ChangeLog
gdb/amd64-tdep.c
gdb/amd64obsd-tdep.c
gdb/i386-tdep.c
gdb/i386obsd-tdep.c
gdb/nios2-linux-tdep.c
gdb/ppc-linux-tdep.c
gdb/ppcfbsd-tdep.c
gdb/regset.c
gdb/regset.h