diff options
author | Tom Tromey <tom@tromey.com> | 2020-03-26 09:28:08 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-03-26 09:28:20 -0600 |
commit | 0df7ad3a675692fcc75c85c43e475015b87a297e (patch) | |
tree | c0393ec9b1527e4ae97e23c90e7310d1461bc9f6 /gdb/ada-lang.h | |
parent | 86c0bb4c57111422b30da6b1b20256bd3a06778a (diff) | |
download | gdb-0df7ad3a675692fcc75c85c43e475015b87a297e.zip gdb-0df7ad3a675692fcc75c85c43e475015b87a297e.tar.gz gdb-0df7ad3a675692fcc75c85c43e475015b87a297e.tar.bz2 |
Move more code to line-header.c
This moves some more code out of read.c and into line-header.c.
dwarf_decode_line_header is split into two -- the part remaining in
read.c handles interfacing to the dwarf2_cu; while the part in
line-header.c (more or less) purely handles the actual decoding.
gdb/ChangeLog
2020-03-26 Tom Tromey <tom@tromey.com>
* dwarf2/line-header.h (dwarf_decode_line_header): Declare.
* dwarf2/read.c
(dwarf2_statement_list_fits_in_line_number_section_complaint):
Move to line-header.c.
(read_checked_initial_length_and_offset, read_formatted_entries):
Likewise.
(dwarf_decode_line_header): Split into two.
* dwarf2/line-header.c
(dwarf2_statement_list_fits_in_line_number_section_complaint):
Move from read.c.
(read_checked_initial_length_and_offset, read_formatted_entries):
Likewise.
(dwarf_decode_line_header): New function, split from read.c.
Diffstat (limited to 'gdb/ada-lang.h')
0 files changed, 0 insertions, 0 deletions