diff options
author | Daniel Jacobowitz <drow@false.org> | 2008-03-31 03:38:48 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2008-03-31 03:38:48 +0000 |
commit | b7d038ae9f4a88775a2c2b6467d62889a6d016fa (patch) | |
tree | b0e6346ad74f4915ac3cfe26d0802f5bc6bfbc62 /gdb/ia64-tdep.c | |
parent | 11a0b582b365fa3839f11ca7c96af52bbb2dc50e (diff) | |
download | gdb-b7d038ae9f4a88775a2c2b6467d62889a6d016fa.zip gdb-b7d038ae9f4a88775a2c2b6467d62889a6d016fa.tar.gz gdb-b7d038ae9f4a88775a2c2b6467d62889a6d016fa.tar.bz2 |
* ia64-tdep.c (examine_prologue): Correct array access.
Diffstat (limited to 'gdb/ia64-tdep.c')
-rw-r--r-- | gdb/ia64-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ia64-tdep.c b/gdb/ia64-tdep.c index b724dda..3876c23 100644 --- a/gdb/ia64-tdep.c +++ b/gdb/ia64-tdep.c @@ -1234,7 +1234,7 @@ examine_prologue (CORE_ADDR pc, CORE_ADDR lim_pc, struct frame_info *next_frame, spill_reg = rN; last_prologue_pc = next_pc; } - else if (qp == 0 && rM >= 32 && rM < 40 && !instores[rM] && + else if (qp == 0 && rM >= 32 && rM < 40 && !instores[rM-32] && rN < 256 && imm == 0) { /* mov rN, rM where rM is an input register */ |