diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2013-02-24 12:54:04 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2013-02-24 12:54:04 +0000 |
commit | ca9c94efe7274a37f4007a29770575d649856dce (patch) | |
tree | 09614f46153e5fe2bbd662777d438cb5dca471da /gdb/mips-tdep.c | |
parent | 95ab2206e0dc8207bab8efee1d87d575098277b9 (diff) | |
download | gdb-ca9c94efe7274a37f4007a29770575d649856dce.zip gdb-ca9c94efe7274a37f4007a29770575d649856dce.tar.gz gdb-ca9c94efe7274a37f4007a29770575d649856dce.tar.bz2 |
* mips-tdep.c (mips32_scan_prologue): Reset frame_offset to zero
if $fp is used as the virtual frame pointer.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |