diff options
author | Randolph Chung <tausq@debian.org> | 2004-05-08 03:59:34 +0000 |
---|---|---|
committer | Randolph Chung <tausq@debian.org> | 2004-05-08 03:59:34 +0000 |
commit | f4ca1d1f2262adfc170c511006ef2d1684cda694 (patch) | |
tree | 6707b6e706a0827c71045b72372a524c6f366c76 /gdb/hppa-linux-tdep.c | |
parent | 2f0e8c7afffc1b2915c1f5b13bdf6551be661d75 (diff) | |
download | gdb-f4ca1d1f2262adfc170c511006ef2d1684cda694.zip gdb-f4ca1d1f2262adfc170c511006ef2d1684cda694.tar.gz gdb-f4ca1d1f2262adfc170c511006ef2d1684cda694.tar.bz2 |
2004-05-07 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Use
read_memory_nobpt for code reading when doing frame unwinding.
* hppa-linux-tdep.c (insns_match_pattern): Likewise.
Diffstat (limited to 'gdb/hppa-linux-tdep.c')
-rw-r--r-- | gdb/hppa-linux-tdep.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/hppa-linux-tdep.c b/gdb/hppa-linux-tdep.c index f57ef50..8f3c632 100644 --- a/gdb/hppa-linux-tdep.c +++ b/gdb/hppa-linux-tdep.c @@ -146,7 +146,10 @@ insns_match_pattern (CORE_ADDR pc, for (i = 0; pattern[i].mask; i++) { - insn[i] = read_memory_unsigned_integer (npc, 4); + char buf[4]; + + read_memory_nobpt (npc, buf, 4); + insn[i] = extract_unsigned_integer (buf, 4); if ((insn[i] & pattern[i].mask) == pattern[i].data) npc += 4; else |