From ca9c94efe7274a37f4007a29770575d649856dce Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Sun, 24 Feb 2013 12:54:04 +0000 Subject: * mips-tdep.c (mips32_scan_prologue): Reset frame_offset to zero if $fp is used as the virtual frame pointer. --- gdb/mips-tdep.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/mips-tdep.c') diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index c7684f8..f83bc99 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -3273,6 +3273,7 @@ restart: frame_reg = 30; frame_addr = get_frame_register_signed (this_frame, gdbarch_num_regs (gdbarch) + 30); + frame_offset = 0; alloca_adjust = (unsigned) (frame_addr - (sp + low_word)); if (alloca_adjust > 0) -- cgit v1.1