diff options
author | Markus Deuling <deuling@de.ibm.com> | 2007-11-16 04:56:45 +0000 |
---|---|---|
committer | Markus Deuling <deuling@de.ibm.com> | 2007-11-16 04:56:45 +0000 |
commit | 64a3914f1d067cda3ec88333e5312afe133d5d36 (patch) | |
tree | a182e9030a0bb5ff6636b988e9df4360e3a8f84f /gdb/gdbarch.h | |
parent | 40a6adc1f847a722db47fa6dc14e4664d59f07b6 (diff) | |
download | gdb-64a3914f1d067cda3ec88333e5312afe133d5d36.zip gdb-64a3914f1d067cda3ec88333e5312afe133d5d36.tar.gz gdb-64a3914f1d067cda3ec88333e5312afe133d5d36.tar.bz2 |
2007-11-16 Markus Deuling <deuling@de.ibm.com>
* 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.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r-- | gdb/gdbarch.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 355054a..5e39512 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -300,11 +300,11 @@ typedef int (gdbarch_register_sim_regno_ftype) (int reg_nr); extern int gdbarch_register_sim_regno (struct gdbarch *gdbarch, int reg_nr); extern void set_gdbarch_register_sim_regno (struct gdbarch *gdbarch, gdbarch_register_sim_regno_ftype *register_sim_regno); -typedef int (gdbarch_cannot_fetch_register_ftype) (int regnum); +typedef int (gdbarch_cannot_fetch_register_ftype) (struct gdbarch *gdbarch, int regnum); extern int gdbarch_cannot_fetch_register (struct gdbarch *gdbarch, int regnum); extern void set_gdbarch_cannot_fetch_register (struct gdbarch *gdbarch, gdbarch_cannot_fetch_register_ftype *cannot_fetch_register); -typedef int (gdbarch_cannot_store_register_ftype) (int regnum); +typedef int (gdbarch_cannot_store_register_ftype) (struct gdbarch *gdbarch, int regnum); extern int gdbarch_cannot_store_register (struct gdbarch *gdbarch, int regnum); extern void set_gdbarch_cannot_store_register (struct gdbarch *gdbarch, gdbarch_cannot_store_register_ftype *cannot_store_register); |