mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user