[rfc] Add gdbach to cannot_fetch_register and cannot_store_register
Markus Deuling
deuling@de.ibm.com
Wed Nov 14 08:42:00 GMT 2007
Hi,
this patch adds gdbarch to cannot_fetch_register and cannot_store_register to get rid of current_gdbarch.
Tested with gdb_mbuild and on x86. Is this ok to commit?
ChangeLog:
* gdbarch.sh (cannot_fetch_register, cannot_store_register): Add gdbarch
as parameter.
* gdbarch.{c,h}: Regenerate.
* alpha-tdep.c (alpha_cannot_fetch_register)
(alpha_cannot_store_register): Add gdbarch as parameter. Replace
current_gdbarch by gdbarch.
* cris-tdep.c (cris_cannot_fetch_register, cris_cannot_store_register)
(crisv32_cannot_fetch_register)
(crisv32_cannot_store_register): Likewise.
* arch-utils.c (cannot_register_not): Likewise.
* arch-utils.h (cannot_register_not): Likewise.
* hppa-tdep.c (hppa32_cannot_store_register)
(hppa32_cannot_store_register, hppa64_cannot_store_register)
(hppa64_cannot_fetch_register): Likewise.
* mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register)
(mipsnbsd_cannot_store_register): Likewise.
--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff-fetchstore-regs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20071114/718645f7/attachment.ksh>
More information about the Gdb-patches
mailing list