diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-04-05 19:30:00 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2010-04-05 19:30:00 +0000 |
commit | a233b20c0e8f6e841c67b54b788f2649942eb7ed (patch) | |
tree | 86b2b045164d00185bfa4a652c12d3e3f60a8320 /include | |
parent | 0fa6bd39ee7c4d33af4006fae32377f0ecfd068b (diff) | |
download | fsf-binutils-gdb-a233b20c0e8f6e841c67b54b788f2649942eb7ed.zip fsf-binutils-gdb-a233b20c0e8f6e841c67b54b788f2649942eb7ed.tar.gz fsf-binutils-gdb-a233b20c0e8f6e841c67b54b788f2649942eb7ed.tar.bz2 |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 5 | ||||
-rw-r--r-- | include/dwarf2.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 584512d..e8f3717 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2010-04-05 Jakub Jelinek <jakub@redhat.com> + + * dwarf2.h (DWARF2_Internal_LineInfo): Add li_max_ops_per_insn + field. + 2010-03-25 Joseph Myers <joseph@codesourcery.com> * dis-asm.h (print_insn_tic6x): Declare. diff --git a/include/dwarf2.h b/include/dwarf2.h index 303af70..df766c1 100644 --- a/include/dwarf2.h +++ b/include/dwarf2.h @@ -66,6 +66,7 @@ typedef struct unsigned short li_version; unsigned int li_prologue_length; unsigned char li_min_insn_length; + unsigned char li_max_ops_per_insn; unsigned char li_default_is_stmt; int li_line_base; unsigned char li_line_range; |