From 0b30b85c7e8d4d719e7facc2b55fcb808157a7f1 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 5 Jan 2012 21:56:37 +0000 Subject: [PATCH] * dwarf2read.c (statement_prologue): Delete, unused. --- gdb/ChangeLog | 2 ++ gdb/dwarf2read.c | 23 ----------------------- 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7d49788..d3c3144 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 6f72bb9..ce9dc78 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; -- 2.7.4