Move DWARF-constant stringifying code to new file
authorTom Tromey <tom@tromey.com>
Thu, 26 Mar 2020 15:28:08 +0000 (09:28 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 26 Mar 2020 15:28:26 +0000 (09:28 -0600)
commit2b2558bfacba3813863da6728c021eb89fa34677
tree74a758f30b78f2e2954b489bb6b4a20acbbdc7ec
parenteeb647814fbfd71dddea45f36cb4847341f5cde7
Move DWARF-constant stringifying code to new file

This moves the DWARF debugging functions that stringify various
constants to a new file, dwarf2/stringify.c.

gdb/ChangeLog
2020-03-26  Tom Tromey  <tom@tromey.com>

* dwarf2/read.c (dwarf_unit_type_name, dwarf_tag_name)
(dwarf_attr_name, dwarf_form_name, dwarf_bool_name)
(dwarf_type_encoding_name): Move to stringify.c.
* Makefile.in (COMMON_SFILES): Add dwarf2/stringify.c.
* dwarf2/stringify.c: New file.
* dwarf2/stringify.h: New file.
gdb/ChangeLog
gdb/Makefile.in
gdb/dwarf2/read.c
gdb/dwarf2/stringify.c [new file with mode: 0644]
gdb/dwarf2/stringify.h [new file with mode: 0644]