* dwarf2read.c (comp_unit_header): Delete, unused.
authorDoug Evans <dje@google.com>
Thu, 5 Jan 2012 20:17:50 +0000 (20:17 +0000)
committerDoug Evans <dje@google.com>
Thu, 5 Jan 2012 20:17:50 +0000 (20:17 +0000)
gdb/ChangeLog
gdb/dwarf2read.c

index 3586c7adc89e42c85a124b2acd2cd51b2a268726..d1d3f0fdb06c2e56f657f7d5cf2d5886af57ac93 100644 (file)
@@ -1,3 +1,7 @@
+2012-01-05  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (comp_unit_header): Delete, unused.
+
 2012-01-05  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o.
index 1d2fc7fb133defc4f5366f0fb3c15bd5bcd1b251..c5c3991e9baee894be3408b36a718362d9476aa2 100644 (file)
 typedef struct symbol *symbolp;
 DEF_VEC_P (symbolp);
 
-#if 0
-/* .debug_info header for a compilation unit
-   Because of alignment constraints, this structure has padding and cannot
-   be mapped directly onto the beginning of the .debug_info section.  */
-typedef struct comp_unit_header
-  {
-    unsigned int length;       /* length of the .debug_info
-                                  contribution */
-    unsigned short version;    /* version number -- 2 for DWARF
-                                  version 2 */
-    unsigned int abbrev_offset;        /* offset into .debug_abbrev section */
-    unsigned char addr_size;   /* byte size of an address -- 4 */
-  }
-_COMP_UNIT_HEADER;
-#define _ACTUAL_COMP_UNIT_HEADER_SIZE 11
-#endif
-
 /* .debug_line statement program prologue
    Because of alignment constraints, this structure has padding and cannot
    be mapped directly onto the beginning of the .debug_info section.  */