This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[patch] Print correct output for DW_CFA_same_value
- To: binutils at sources dot redhat dot com
- Subject: [patch] Print correct output for DW_CFA_same_value
- From: Richard Earnshaw <rearnsha at arm dot com>
- Date: Thu, 30 Nov 2000 15:13:25 +0000
- cc: rearnsha at arm dot com
- Organization: ARM Ltd.
- Reply-To: rearnsha at arm dot com
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]);