aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2005-06-13 13:43:33 +0000
committerJoel Brobecker <brobecker@gnat.com>2005-06-13 13:43:33 +0000
commit7b5c6b52e4427fd82b0240b52acefb12f83db001 (patch)
tree36c3482a592adcdc3edc3baf4089248e259e6c7f /gdb/hppa-tdep.c
parentdf0ca547847b27bc3b2beaa3966d133bcae82d3c (diff)
downloadfsf-binutils-gdb-7b5c6b52e4427fd82b0240b52acefb12f83db001.zip
fsf-binutils-gdb-7b5c6b52e4427fd82b0240b52acefb12f83db001.tar.gz
fsf-binutils-gdb-7b5c6b52e4427fd82b0240b52acefb12f83db001.tar.bz2
* hppa-tdep.c (hppa_pc_requires_run_before_use): Really test all
bits of top byte in address.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r--gdb/hppa-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index 4db6ec8..c13231c 100644
--- a/gdb/hppa-tdep.c
+++ b/gdb/hppa-tdep.c
@@ -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