(dwarf_decode_lines_1): Delete local basic_block, unused.
* dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block, unused.
This commit is contained in:
parent
cb039ba453
commit
20d8c3722e
|
@ -1,3 +1,8 @@
|
||||||
|
2014-08-15 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
|
* dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
|
||||||
|
unused.
|
||||||
|
|
||||||
2014-08-15 Eli Zaretskii <eliz@gnu.org>
|
2014-08-15 Eli Zaretskii <eliz@gnu.org>
|
||||||
|
|
||||||
* dcache.h: Include target.h, to avoid compile time warnings.
|
* dcache.h: Include target.h, to avoid compile time warnings.
|
||||||
|
|
|
@ -17205,7 +17205,6 @@ dwarf_decode_lines_1 (struct line_header *lh, const char *comp_dir,
|
||||||
unsigned int line = 1;
|
unsigned int line = 1;
|
||||||
unsigned int column = 0;
|
unsigned int column = 0;
|
||||||
int is_stmt = lh->default_is_stmt;
|
int is_stmt = lh->default_is_stmt;
|
||||||
int basic_block = 0;
|
|
||||||
int end_sequence = 0;
|
int end_sequence = 0;
|
||||||
CORE_ADDR addr;
|
CORE_ADDR addr;
|
||||||
unsigned char op_index = 0;
|
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);
|
(*p_record_line) (current_subfile, line, addr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
basic_block = 0;
|
|
||||||
}
|
}
|
||||||
else switch (op_code)
|
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);
|
(*p_record_line) (current_subfile, line, addr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
basic_block = 0;
|
|
||||||
break;
|
break;
|
||||||
case DW_LNS_advance_pc:
|
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);
|
is_stmt = (!is_stmt);
|
||||||
break;
|
break;
|
||||||
case DW_LNS_set_basic_block:
|
case DW_LNS_set_basic_block:
|
||||||
basic_block = 1;
|
|
||||||
break;
|
break;
|
||||||
/* Add to the address register of the state machine the
|
/* Add to the address register of the state machine the
|
||||||
address increment value corresponding to special opcode
|
address increment value corresponding to special opcode
|
||||||
|
|
Loading…
Reference in New Issue