Move DWARF line_header to new file
authorTom Tromey <tom@tromey.com>
Sat, 8 Feb 2020 20:40:54 +0000 (13:40 -0700)
committerTom Tromey <tom@tromey.com>
Sat, 8 Feb 2020 20:43:24 +0000 (13:43 -0700)
commit8fdd972c3002e45458edc1b32ac880c137762cf7
tree96214417a372da188233ac1f83833be0e88255d3
parent03075812752042ebea6ac3108829b46e272d3ad9
Move DWARF line_header to new file

This moves the line_header class to a pair of new files, making
dwarf2/read.c somewhat smaller.

2020-02-08  Tom Tromey  <tom@tromey.com>

* dwarf2/read.h (dwarf_line_debug): Declare.
* Makefile.in (COMMON_SFILES): Add dwarf2/line-header.c.
* dwarf2/read.c: Move line_header code to new files.
(dwarf_line_debug): No longer static.
* dwarf2/line-header.c: New file.
* dwarf2/line-header.h: New file.

Change-Id: I8d9d8a2398b4e888e20cc5dd68d041c28b5a06e3
gdb/ChangeLog
gdb/Makefile.in
gdb/dwarf2/line-header.c [new file with mode: 0644]
gdb/dwarf2/line-header.h [new file with mode: 0644]
gdb/dwarf2/read.c
gdb/dwarf2/read.h