HP/UX text addresses are word aligned, and we were already setting the smash_text_address method for that. So I changed the gdbarch init routine to set addr_bits_remove as well. What caused me to look into this was the fact that I discovered that we define the ADDR_BITS_REMOVE for hppa64, but not for hppa32, and I think it is an oversight that was covered up by the fact that we have SMASH_TEXT_ADDRESS was already. I think we should have a look at getting rid of either one of these 2 methods. There is already a comment to that effect in gdbarch.h... 2003-08-13 J. Brobecker * hppa-tdep.c (hppa_gdbarch_init): Set the addr_bits_remove gdbarch method to clear the 2 low bits of text addresses. Tested on hppa-hpux11.00. Committed in head. -- Joel