From: Doug Evans Date: Thu, 5 Jan 2012 21:56:37 +0000 (+0000) Subject: * dwarf2read.c (statement_prologue): Delete, unused. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0b30b85c7e8d4d719e7facc2b55fcb808157a7f1;p=binutils-gdb.git * dwarf2read.c (statement_prologue): Delete, unused. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7d497882831..d3c31447ff1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ 2012-01-05 Doug Evans + * dwarf2read.c (statement_prologue): Delete, unused. + * dwarf2read.c (dwarf2_per_cu_addr_size): Make result type an int. * dwarf2loc.h (dwarf2_per_cu_addr_size): Update. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 6f72bb9f731..ce9dc78c9f1 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -75,29 +75,6 @@ typedef struct symbol *symbolp; DEF_VEC_P (symbolp); -/* .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. */ -typedef struct statement_prologue - { - unsigned int total_length; /* byte length of the statement - information */ - unsigned short version; /* version number -- 2 for DWARF - version 2 */ - unsigned int prologue_length; /* # bytes between prologue & - stmt program */ - unsigned char minimum_instruction_length; /* byte size of - smallest instr */ - unsigned char default_is_stmt; /* initial value of is_stmt - register */ - char line_base; - unsigned char line_range; - unsigned char opcode_base; /* number assigned to first special - opcode */ - unsigned char *standard_opcode_lengths; - } -_STATEMENT_PROLOGUE; - /* When non-zero, dump DIEs after they are read in. */ static int dwarf2_die_debug = 0;