Move more declarations from dwarf2/loc.h to dwarf2/read.h
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 26 Feb 2020 14:35:22 +0000 (09:35 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 26 Feb 2020 14:36:44 +0000 (09:36 -0500)
commitd4c9a4f87ddbbb79d852f59ee1723e03294540c2
tree5eb1e1aa4f8df21cbea3a0b58b387838f6a8f1dd
parentcceb53b8849bc76f522931890b585b41e6662fa5
Move more declarations from dwarf2/loc.h to dwarf2/read.h

All these functions have their implementations in dwarf2/read.c, so move
their declarations to dwarf2/read.h.  Move the doc to the header, at the
same time.

gdb/ChangeLog:

* dwarf2/loc.h (dwarf2_fetch_die_loc_sect_off,
dwarf2_fetch_die_loc_cu_off, dwarf2_fetch_constant_bytes,
dwarf2_fetch_die_type_sect_off): Move to...
* dwarf2/read.h (dwarf2_fetch_die_loc_sect_off,
dwarf2_fetch_die_loc_cu_off, dwarf2_fetch_constant_bytes,
dwarf2_fetch_die_type_sect_off): ... here.
* dwarf2/read.c (dwarf2_fetch_die_loc_sect_off,
dwarf2_fetch_die_loc_cu_off, dwarf2_fetch_constant_bytes,
dwarf2_fetch_die_type_sect_off): Move doc to header file.
gdb/ChangeLog
gdb/dwarf2/loc.h
gdb/dwarf2/read.c
gdb/dwarf2/read.h