[libbacktrace] Factor out read_string
authorTom de Vries <tdevries@suse.de>
Wed, 21 Nov 2018 08:31:04 +0000 (08:31 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Wed, 21 Nov 2018 08:31:04 +0000 (08:31 +0000)
commit171125708adc225b28da35f2f50d2554c0d5f595
tree559ba9d02ffa6b0d07ed38e7487acddafaeb1998
parent25baeeb36ea512632ca128b6fc3f3ab27f17203b
[libbacktrace] Factor out read_string

Factor out new function read_string in dwarf.c.

Bootstrapped and reg-tested on x86_64.

2018-11-21  Tom de Vries  <tdevries@suse.de>

* dwarf.c (read_string): Factor out of ...
(read_attribute, read_line_header, read_line_program): ... here.

From-SVN: r266339
libbacktrace/ChangeLog
libbacktrace/dwarf.c