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]: Support DWARF 2.1 tags, encodings, languages, in readelf



Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/binutils/ChangeLog,v
retrieving revision 1.302
diff -c -3 -p -w -B -b -r1.302 ChangeLog
*** ChangeLog	2001/06/29 14:17:31	1.302
--- ChangeLog	2001/06/30 20:17:35
***************
*** 1,3 ****
--- 1,7 ----
+ 2001-06-30  Daniel Berlin  <dan@cgsoftware.com>
+ 
+ 	* readelf.c: Support DWARF 2.1 tags, encodings, languages.
+ 
  2001-06-29  James Cownie <jcownie@etnus.com>
  
  	* readelf.c: Support DWARF 2.1 attributes.
Index: readelf.c
===================================================================
RCS file: /cvs/src/src/binutils/readelf.c,v
retrieving revision 1.107
diff -c -3 -p -w -B -b -r1.107 readelf.c
*** readelf.c	2001/06/29 14:17:31	1.107
--- readelf.c	2001/06/30 20:17:41
*************** get_TAG_name (tag)
*** 5937,5942 ****
--- 5937,5951 ----
      case DW_TAG_format_label: return "DW_TAG_format_label";
      case DW_TAG_function_template: return "DW_TAG_function_template";
      case DW_TAG_class_template: return "DW_TAG_class_template";
+     /* DWARF 2.1 values */
+     case DW_TAG_dwarf_procedure: return "DW_TAG_dwarf_procedure";
+     case DW_TAG_restrict_type: return "DW_TAG_restrict_type";
+     case DW_TAG_interface_type: return "DW_TAG_interface_type";
+     case DW_TAG_namespace: return "DW_TAG_namespace";
+     case DW_TAG_imported_module: return "DW_TAG_imported_module";
+     case DW_TAG_unspecified_type: return "DW_TAG_unspecified_type";
+     case DW_TAG_partial_unit: return "DW_TAG_partial_unit";
+     case DW_TAG_imported_unit: return "DW_TAG_imported_unit";
      default:
        {
  	static char buffer [100];
*************** read_and_display_attr (attribute, form, 
*** 6795,6800 ****
--- 6804,6812 ----
  	case DW_LANG_Ada83:          printf ("(Ada)"); break;
  	case DW_LANG_Cobol74:        printf ("(Cobol 74)"); break;
  	case DW_LANG_Cobol85:        printf ("(Cobol 85)"); break;
+ 	case DW_LANG_C99:            printf ("(ANSI C99)"); break;
+ 	case DW_LANG_Ada95:          printf ("(ADA 95)"); break;
+ 	case DW_LANG_Fortran95:       printf ("(Fortran 95)"); break;
  	case DW_LANG_Mips_Assembler: printf ("(MIPS assembler)"); break;
  	default:                     printf ("(Unknown: %lx)", uvalue); break;
  	}
*************** read_and_display_attr (attribute, form, 
*** 6812,6817 ****
--- 6824,6830 ----
  	case DW_ATE_signed_char:     printf ("(signed char)"); break;
  	case DW_ATE_unsigned:        printf ("(unsigned)"); break;
  	case DW_ATE_unsigned_char:   printf ("(unsigned char)"); break;
+ 	case DW_ATE_imaginary_float: printf ("(imaginary float)"); break;
  	default:
  	  if (uvalue >= DW_ATE_lo_user
  	      && uvalue <= DW_ATE_hi_user)

-- 
"I bought my brother some gift-wrap for Christmas.  I took it to
the Gift Wrap Department and told them to wrap it, but in a
different print so he would know when to stop unwrapping.
"-Steven Wright


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