aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2014-08-15 15:24:35 -0700
committerDoug Evans <dje@google.com>2014-08-15 15:24:35 -0700
commit20d8c3722e283ae1240bbf03fc11eccfce936039 (patch)
tree4bda342ae57137912d4579db0ed799061ae7d6ea /gdb/dwarf2read.c
parentcb039ba4535a3e9ba59517dc973c842c513b4f05 (diff)
downloadgdb-20d8c3722e283ae1240bbf03fc11eccfce936039.zip
gdb-20d8c3722e283ae1240bbf03fc11eccfce936039.tar.gz
gdb-20d8c3722e283ae1240bbf03fc11eccfce936039.tar.bz2
(dwarf_decode_lines_1): Delete local basic_block, unused.
* dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block, unused.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index cb68a4a..7f183a7 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -17205,7 +17205,6 @@ dwarf_decode_lines_1 (struct line_header *lh, const char *comp_dir,
unsigned int line = 1;
unsigned int column = 0;
int is_stmt = lh->default_is_stmt;
- int basic_block = 0;
int end_sequence = 0;
CORE_ADDR addr;
unsigned char op_index = 0;
@@ -17268,7 +17267,6 @@ dwarf_decode_lines_1 (struct line_header *lh, const char *comp_dir,
(*p_record_line) (current_subfile, line, addr);
}
}
- basic_block = 0;
}
else switch (op_code)
{
@@ -17366,7 +17364,6 @@ dwarf_decode_lines_1 (struct line_header *lh, const char *comp_dir,
(*p_record_line) (current_subfile, line, addr);
}
}
- basic_block = 0;
break;
case DW_LNS_advance_pc:
{
@@ -17418,7 +17415,6 @@ dwarf_decode_lines_1 (struct line_header *lh, const char *comp_dir,
is_stmt = (!is_stmt);
break;
case DW_LNS_set_basic_block:
- basic_block = 1;
break;
/* Add to the address register of the state machine the
address increment value corresponding to special opcode