This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] dwarf2read.c (statement_prologue): Delete, unused.
- From: dje at google dot com (Doug Evans)
- To: gdb-patches at sourceware dot org
- Date: Thu, 5 Jan 2012 13:58:41 -0800 (PST)
- Subject: [commit] dwarf2read.c (statement_prologue): Delete, unused.
Heh, missed this one.
[It was right next to the #if 0'd out comp_unit_header.]
Perhaps this is here for documentation, but I'd rather just
use dwarf4.pdf (or whatever).
2012-01-05 Doug Evans <dje@google.com>
* dwarf2read.c (statement_prologue): Delete, unused.
Index: dwarf2read.c
===================================================================
RCS file: /cvs/src/src/gdb/dwarf2read.c,v
retrieving revision 1.600
diff -u -p -r1.600 dwarf2read.c
--- dwarf2read.c 5 Jan 2012 21:53:14 -0000 1.600
+++ dwarf2read.c 5 Jan 2012 21:55:48 -0000
@@ -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;