[patch] sparc-tdep.c - bad function call

Andrew Cagney ac131313@cygnus.com
Thu Aug 10 16:55:00 GMT 2000


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)
  	{


More information about the Gdb-patches mailing list