Change find_partial_die_in_comp_unit to dwarf2_cu::find_partial_die
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)
commitd590ff257c81d5aac51928148ce74b0131bbf81c
tree591af7eca7f55db65a82c1d4d58addd226d30430
parentfd0a254f815b133c67230c50dd84eb0d4b31a93d
Change find_partial_die_in_comp_unit to dwarf2_cu::find_partial_die

This patch changes find_partial_die_in_comp_unit to a dwarf2_cu method
find_partial_die.

gdb:

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

* dwarf2read.c (struct dwarf2_cu) <find_partial_die>: New method.
(find_partial_die_in_comp_unit): Change it to
dwarf2_cu::find_partial_die.
(find_partial_die): Update.
gdb/ChangeLog
gdb/dwarf2read.c