This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] sparc-tdep.c - bad function call
- To: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: [patch] sparc-tdep.c - bad function call
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 10 Aug 2000 16:52:19 -0700
FYI,
I've checked in the attatched. Something else that this ISO PARAMS
flushed out.
Andrew
Thu Aug 10 15:28:17 2000 Andrew Cagney <cagney@ryobi.cygnus.com>
* sparc-tdep.c (sparc_init_extra_frame_info): Fix number of
arguments to fetch_instruction.
Index: sparc-tdep.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/sparc-tdep.c,v
retrieving revision 1.112
diff -p -r1.112 sparc-tdep.c
*** sparc-tdep.c 2000/07/30 01:49:41 1.112
--- sparc-tdep.c 2000/08/10 23:07:35
*************** sparc_init_extra_frame_info (int fromlea
*** 340,346 ****
negative number if a flat frame) to the sp. FIXME: Does not
handle large frames which will need more than one instruction
to adjust the sp. */
! insn = fetch_instruction (prologue_start, 4);
if (X_OP (insn) == 2 && X_RD (insn) == 14 && X_OP3 (insn) == 0
&& X_I (insn) && X_SIMM13 (insn) < 0)
{
--- 340,346 ----
negative number if a flat frame) to the sp. FIXME: Does not
handle large frames which will need more than one instruction
to adjust the sp. */
! insn = fetch_instruction (prologue_start);
if (X_OP (insn) == 2 && X_RD (insn) == 14 && X_OP3 (insn) == 0
&& X_I (insn) && X_SIMM13 (insn) < 0)
{