Move fixup_partial_die to partial_die_info::fixup
authorYao Qi <yao.qi@linaro.org>
Mon, 26 Feb 2018 15:38:01 +0000 (15:38 +0000)
committerYao Qi <yao.qi@linaro.org>
Mon, 26 Feb 2018 15:38:01 +0000 (15:38 +0000)
commit52356b79d76fb299a67685510ae584f3b0179734
tree161e63b86d4057a8e362edec59c09098d67f833d
parent35cc7ed70ced98eedf9c065faa602abb1dfac537
Move fixup_partial_die to partial_die_info::fixup

fixup_partial_die can be a partial_die_info method fixup.

gdb:

2018-02-26  Yao Qi  <yao.qi@linaro.org>

* dwarf2read.c (struct partial_die_info) <fixup>: New method.
(fixup_partial_die): Remove declaration.
(scan_partial_symbols): Update.
(partial_die_parent_scope): Likewise.
(partial_die_full_name): Likewise.
(fixup_partial_die): Change it to partial_die_info::fixup.
gdb/ChangeLog
gdb/dwarf2read.c