2003-09-25 Jerome Guitton * arm-tdep.c (arm_scan_prologue_cache): When analysing the instruction "str lr, [sp, #-4]", save the address where lr has been stored. *** arm-tdep.c.2 Tue Sep 23 20:59:52 2003 --- arm-tdep.c Tue Sep 23 21:06:07 2003 *************** arm_scan_prologue (struct frame_info *ne *** 845,851 **** } else if (insn == 0xe52de004) /* str lr, [sp, #-4]! */ { ! /* Function is frameless: extra_info defaults OK? */ continue; } else if ((insn & 0xffff0000) == 0xe92d0000) --- 845,852 ---- } else if (insn == 0xe52de004) /* str lr, [sp, #-4]! */ { ! sp_offset -= 4; ! cache->saved_regs[ARM_LR_REGNUM].addr = sp_offset; continue; } else if ((insn & 0xffff0000) == 0xe92d0000)