forked from Imagelibrary/binutils-gdb
Don't let a branch unit nop terminate the prologue scan.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2001-08-31 Kevin Buettner <kevinb@redhat.com>
|
||||
|
||||
* ia64-tdep.c (examine_prologue): Don't let a branch unit nop
|
||||
terminate the prologue scan.
|
||||
|
||||
2001-08-30 Jim Blandy <jimb@redhat.com>
|
||||
|
||||
* symfile.c (sections_overlap): New function.
|
||||
|
||||
@@ -860,10 +860,11 @@ examine_prologue (CORE_ADDR pc, CORE_ADDR lim_pc, struct frame_info *frame)
|
||||
if (next_pc == 0)
|
||||
break;
|
||||
|
||||
if (it == B || ((instr & 0x3fLL) != 0LL))
|
||||
if ((it == B && ((instr & 0x1e1f800003f) != 0x04000000000))
|
||||
|| ((instr & 0x3fLL) != 0LL))
|
||||
{
|
||||
/* Exit loop upon hitting a branch instruction or a predicated
|
||||
instruction. */
|
||||
/* Exit loop upon hitting a non-nop branch instruction
|
||||
or a predicated instruction. */
|
||||
break;
|
||||
}
|
||||
else if (it == I && ((instr & 0x1eff8000000LL) == 0x00188000000LL))
|
||||
|
||||
Reference in New Issue
Block a user