Move read_partial_die to partial_die_info::read
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)
commit48fbe735fb8f0e65976d2b9dd345bf2f947ad258
treea54aa2f8a4df8f30cb45ed2d4effdf520dfdc793
parent52356b79d76fb299a67685510ae584f3b0179734
Move read_partial_die to partial_die_info::read

gdb:

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

* dwarf2read.c (struct partial_die_info) <read>: New method.
(read_partial_die): Remove the declaration.
(load_partial_dies): Update.
(partial_die_info::partial_die_info):
(read_partial_die): Change it to partial_die_info::read.
gdb/ChangeLog
gdb/dwarf2read.c