diff options
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 |