diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2008-09-05 11:42:32 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2008-09-05 11:42:32 +0000 |
commit | 24568a2cd9b1422f582b6f9c004ebd67ffadcb90 (patch) | |
tree | 85fd7da24abfd25d5412563736fe4cfa456cf195 /gdb/hppa-tdep.c | |
parent | f7fd47281bfa87d64a095880d752b16cd5ed4510 (diff) | |
download | gdb-24568a2cd9b1422f582b6f9c004ebd67ffadcb90.zip gdb-24568a2cd9b1422f582b6f9c004ebd67ffadcb90.tar.gz gdb-24568a2cd9b1422f582b6f9c004ebd67ffadcb90.tar.bz2 |
* gdbarch.sh (addr_bits_remove): Change type to 'm'.
(smash_text_address): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
* arch-utils.c (core_addr_identity): Add gdbarch parameter.
* arch-utils.h (core_addr_identity): Likewise.
* arm-tdep.c (arm_addr_bits_remove): Likewise.
(arm_smash_text_address): Likewise.
* hppa-tdep.c (hppa_smash_text_address): Likewise.
* m88k-tdep.c (m88k_addr_bits_remove): Likewise.
* s390-tdep.c (s390_addr_bits_remove): Likewise.
* mips-tdep.c (mips_addr_bits_remove): Add gdbarch parameter.
Use it instead of current_gdbarch.
* arm-tdep.c (arm_prologue_prev_register, arm_unwind_pc,
arm_dwarf2_prev_register): Update calls.
* m88k-tdep.c (m88k_unwind_pc): Update call.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r-- | gdb/hppa-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 11ef093..3b4d331 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -2663,7 +2663,7 @@ hppa64_cannot_fetch_register (struct gdbarch *gdbarch, int regnum) } static CORE_ADDR -hppa_smash_text_address (CORE_ADDR addr) +hppa_smash_text_address (struct gdbarch *gdbarch, CORE_ADDR addr) { /* The low two bits of the PC on the PA contain the privilege level. Some genius implementing a (non-GCC) compiler apparently decided |