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:
Randolph Chung
2004-05-08 03:59:34 +00:00
parent 2f0e8c7aff
commit f4ca1d1f22
3 changed files with 16 additions and 7 deletions

View File

@@ -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