Dwarf2 debug info generation for ARM

Nick Clifton nickc@cygnus.com
Wed Jul 26 12:28:00 GMT 2000


Hi Richard, Hi Jason,

: Nope, this fails as well.  It seems dwarf2out.c can't handle the
: sequence statement.

Ooops! I forgot that part of the patch.

Jason - any objections to my applying this patch ?

Cheers
	Nick


2000-07-26  Nick Clifton  <nickc@cygnus.com>

	* dwarf2out.c (dwarf2out_frame_debug_expr): Accept SEQUENCE as
	well as PARALLEL blocks in FRAME_RELATED_EXPR notes.

Index: gcc/dwarf2out.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/dwarf2out.c,v
retrieving revision 1.188
diff -p -r1.188 dwarf2out.c
*** dwarf2out.c	2000/07/24 17:52:37	1.188
--- dwarf2out.c	2000/07/26 19:26:40
*************** dwarf2out_frame_debug_expr (expr, label)
*** 1228,1234 ****
       are processed only if they are SETs and the RTX_FRAME_RELATED_P 
       flag is set in them. */
  
!   if (GET_CODE (expr) == PARALLEL)
      { 
        int par_index;
        int limit = XVECLEN (expr, 0);
--- 1228,1235 ----
       are processed only if they are SETs and the RTX_FRAME_RELATED_P 
       flag is set in them. */
  
!   if (GET_CODE (expr) == PARALLEL
!       || GET_CODE (expr) == SEQUENCE)
      { 
        int par_index;
        int limit = XVECLEN (expr, 0);


More information about the Gcc-patches mailing list