aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-01-05 21:56:37 +0000
committerDoug Evans <dje@google.com>2012-01-05 21:56:37 +0000
commit0b30b85c7e8d4d719e7facc2b55fcb808157a7f1 (patch)
treec1e117dd8670a00cff72ad83f585246bce22401b
parent98714339e5761864a7c715583543a578c3f49dab (diff)
downloadgdb-0b30b85c7e8d4d719e7facc2b55fcb808157a7f1.zip
gdb-0b30b85c7e8d4d719e7facc2b55fcb808157a7f1.tar.gz
gdb-0b30b85c7e8d4d719e7facc2b55fcb808157a7f1.tar.bz2
* dwarf2read.c (statement_prologue): Delete, unused.
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/dwarf2read.c23
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 <dje@google.com>
+ * 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;