2003-09-25 Jerome Guitton * arm-tdep.c (arm_make_prologue_cache): Compare the field addr of the saved regs record with -1 to test if the register has been saved on the stack. *** arm-tdep.c.1 Tue Sep 23 20:58:12 2003 --- arm-tdep.c Tue Sep 23 20:58:45 2003 *************** arm_make_prologue_cache (struct frame_in *** 967,973 **** /* Calculate actual addresses of saved registers using offsets determined by arm_scan_prologue. */ for (reg = 0; reg < NUM_REGS; reg++) ! if (cache->saved_regs[reg].addr != 0) cache->saved_regs[reg].addr += cache->prev_sp; return cache; --- 967,973 ---- /* Calculate actual addresses of saved registers using offsets determined by arm_scan_prologue. */ for (reg = 0; reg < NUM_REGS; reg++) ! if (cache->saved_regs[reg].addr != -1) cache->saved_regs[reg].addr += cache->prev_sp; return cache;