diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/hppa-tdep.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a68614f..5474300 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-08-13 J. Brobecker <brobecker@gnat.com> + + * hppa-tdep.c (hppa_gdbarch_init): Set the addr_bits_remove + gdbarch method to clear the 2 low bits of text addresses. + 2003-08-12 Andrew Cagney <cagney@redhat.com> * Makefile.in (dsrec.o): Update dependencies. diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index fed6cb1..fb40481 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -5046,6 +5046,7 @@ hppa_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_deprecated_call_dummy_length (gdbarch, INSTRUCTION_SIZE * 28); /* set_gdbarch_deprecated_fix_call_dummy (gdbarch, hppa_fix_call_dummy); */ set_gdbarch_deprecated_push_arguments (gdbarch, hppa_push_arguments); + set_gdbarch_addr_bits_remove (gdbarch, hppa_smash_text_address); set_gdbarch_smash_text_address (gdbarch, hppa_smash_text_address); set_gdbarch_believe_pcc_promotion (gdbarch, 1); set_gdbarch_read_pc (gdbarch, hppa_target_read_pc); |