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 | 72a9b50cd4c97b718fefa9d49d9fb8fd8e004c48 (patch) | |
tree | ecaeea4fa341690870f7840736ed0e2c517f8b2c /gdb/hppa-linux-tdep.c | |
parent | c45b1b2b52a6df8592eb6863c81873b7519c07f4 (diff) | |
download | gdb-72a9b50cd4c97b718fefa9d49d9fb8fd8e004c48.tar.gz |
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 f57ef502ee8..8f3c632a152 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 |