* hppa-tdep.c (hppa_pc_requires_run_before_use): Really test all

bits of top byte in address.
This commit is contained in:
Joel Brobecker 2005-06-13 13:43:33 +00:00
parent df0ca54784
commit 7b5c6b52e4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-06-13 Joel Brobecker <brobecker@adacore.com>
* hppa-tdep.c (hppa_pc_requires_run_before_use): Really test all
bits of top byte in address.
2005-06-13 Wu Zhou <woodzltc@cn.ibm.com>
* eval.c (evaluate_subexp_standard): Add code to check the target

View File

@ -2527,7 +2527,7 @@ hppa_pc_requires_run_before_use (CORE_ADDR pc)
minimal symbols, I'm resorting to the gross hack of checking the
top byte of the address for all 1's. Sigh. */
return (!target_has_stack && (pc & 0xFF000000));
return (!target_has_stack && (pc & 0xFF000000) == 0xFF000000);
}
/* Return the GDB type object for the "standard" data type of data in