This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFA] generic_dummy glitch in arm-tdep.c


Add (!USING_GENERIC_DUMMY_FRAMES) to if conditional.
This block should only be executed if we're using the 
ancient code-on-the-stack style of dummy frames.
2002-08-30  Michael Snyder  <msnyder@redhat.com>

	* arm-tdep.c (arm_init_extra_frame_info): Narrow the 'if' 
	conditional: this block should only be executed if 
	not-using-generic-dummy-frames.

Index: arm-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/arm-tdep.c,v
retrieving revision 1.69
diff -p -r1.69 arm-tdep.c
*** arm-tdep.c	24 Aug 2002 00:21:34 -0000	1.69
--- arm-tdep.c	31 Aug 2002 00:50:28 -0000
*************** arm_init_extra_frame_info (int fromleaf,
*** 1143,1149 ****
        fi->extra_info->frameoffset = 0;
  
      }
!   else if (PC_IN_CALL_DUMMY (fi->pc, sp, fi->frame))
      {
        CORE_ADDR rp;
        CORE_ADDR callers_sp;
--- 1143,1150 ----
        fi->extra_info->frameoffset = 0;
  
      }
!   else if (!USE_GENERIC_DUMMY_FRAMES
! 	   && PC_IN_CALL_DUMMY (fi->pc, sp, fi->frame))
      {
        CORE_ADDR rp;
        CORE_ADDR callers_sp;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]