This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

[patch] Print correct output for DW_CFA_same_value



Minor buglet (and gcc doesn't even generate it).

<date> Richard Earnshaw  <rearnsha@arm.com>

	* readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.

R.
Index: readelf.c
===================================================================
RCS file: /cvs/src/src/binutils/readelf.c,v
retrieving revision 1.76
diff -p -r1.76 readelf.c
*** readelf.c	2000/11/27 21:10:31	1.76
--- readelf.c	2000/11/30 15:10:39
*************** frame_display_row (fc, need_col_headers,
*** 6556,6562 ****
  	  strcpy (tmp, "u");
  	  break;
  	case DW_CFA_same_value:
! 	  strcpy (tmp, "u");
  	  break;
  	case DW_CFA_offset:
  	  sprintf (tmp, "c%+d", fc->col_offset[r]);
--- 6556,6562 ----
  	  strcpy (tmp, "u");
  	  break;
  	case DW_CFA_same_value:
! 	  strcpy (tmp, "s");
  	  break;
  	case DW_CFA_offset:
  	  sprintf (tmp, "c%+d", fc->col_offset[r]);

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