diff options
author | Joel Brobecker <brobecker@gnat.com> | 2003-08-13 17:09:09 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2003-08-13 17:09:09 +0000 |
commit | b6fbdd1dbd3fc51820618ba044e81eaac6205f19 (patch) | |
tree | 01e8fa664bd5ac75a3bc130fffaf88a9c1f4429f /gdb/hppa-tdep.c | |
parent | f22f5fcd022d1078e8e27def5de0b079b0e5217f (diff) | |
download | gdb-b6fbdd1dbd3fc51820618ba044e81eaac6205f19.zip gdb-b6fbdd1dbd3fc51820618ba044e81eaac6205f19.tar.gz gdb-b6fbdd1dbd3fc51820618ba044e81eaac6205f19.tar.bz2 |
* hppa-tdep.c (hppa_gdbarch_init): Set the addr_bits_remove
gdbarch method to clear the 2 low bits of text addresses.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r-- | gdb/hppa-tdep.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |