aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-01-05 20:17:50 +0000
committerDoug Evans <dje@google.com>2012-01-05 20:17:50 +0000
commit6b07635ff9401b259aa74a888d3d480acc9ace1f (patch)
tree1e9878f811dc60a846319fdedca8af3299686f4f /gdb/dwarf2read.c
parent761f4555ccfc0a56a90a1e5006abb63c0c6bde84 (diff)
downloadgdb-6b07635ff9401b259aa74a888d3d480acc9ace1f.zip
gdb-6b07635ff9401b259aa74a888d3d480acc9ace1f.tar.gz
gdb-6b07635ff9401b259aa74a888d3d480acc9ace1f.tar.bz2
* dwarf2read.c (comp_unit_header): Delete, unused.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 1d2fc7f..c5c3991 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -75,23 +75,6 @@
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. */