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]

[patch] Zap another #ifdef INIT_EXTRA_FRAME_INFO


FYI,

I missed this in the previous patch.  If your target isn't multi-arch or 
doesn't set INIT_EXTRA_FRAME_INFO() you'll notice problems without it.

Sorry
Andrew
2001-11-06  Andrew Cagney  <ac131313@redhat.com>

	* blockframe.c (get_prev_frame): Replace #ifdef
	INIT_EXTRA_FRAME_INFO with run-time test.

Index: blockframe.c
===================================================================
RCS file: /cvs/src/src/gdb/blockframe.c,v
retrieving revision 1.19
diff -p -r1.19 blockframe.c
*** blockframe.c	2001/11/05 23:11:31	1.19
--- blockframe.c	2001/11/06 18:52:20
*************** get_prev_frame (struct frame_info *next_
*** 437,445 ****
  
    INIT_FRAME_PC_FIRST (fromleaf, prev);
  
! #ifdef INIT_EXTRA_FRAME_INFO
!   INIT_EXTRA_FRAME_INFO (fromleaf, prev);
! #endif
  
    /* This entry is in the frame queue now, which is good since
       FRAME_SAVED_PC may use that queue to figure out its value
--- 437,444 ----
  
    INIT_FRAME_PC_FIRST (fromleaf, prev);
  
!   if (INIT_EXTRA_FRAME_INFO_P ())
!     INIT_EXTRA_FRAME_INFO (fromleaf, prev);
  
    /* This entry is in the frame queue now, which is good since
       FRAME_SAVED_PC may use that queue to figure out its value

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