OSDN Git Service

include/
authorjakub <jakub>
Mon, 5 Apr 2010 19:29:24 +0000 (19:29 +0000)
committerjakub <jakub>
Mon, 5 Apr 2010 19:29:24 +0000 (19:29 +0000)
commit778063aa6fa90224c509808c2dbbd1abfae131f0
tree9493b44b74b5cc27ebacbfcbd963739c0ed6087e
parent3e56bf82cc87dcea3170be11fe683a67e29cc328
include/
* dwarf2.h (DWARF2_Internal_LineInfo): Add li_max_ops_per_insn
field.
bfd/
* dwarf2.c (struct line_head): Add maximum_ops_per_insn field.
(struct line_info): Add op_index field, change end_sequence type to
unsigned char.
(new_line_sorts_after): For the same address compare op_index.
(add_line_info): Add op_index argument, store it into the structure.
(decode_line_info): Complain about unknown versions of .debug_line.
Initialize maximum_ops_per_insn.  Add op_index state register and
track it.
binutils/
* dwarf.c (struct State_Machine_Registers): Add op_index field,
change end_sequence type to unsigned char.
(reset_state_machine): Clear op_index.
(process_extended_line_op): For DW_LNE_set_address clear op_index.
(display_debug_lines_raw): Initialize li_max_ops_per_insn.
Track op_index state machine register and print it if
li_max_ops_per_insn is != 1.
(display_debug_lines_decoded): Likewise.
bfd/ChangeLog