diff options
author | Yao Qi <yao.qi@linaro.org> | 2018-02-26 15:38:01 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2018-02-26 15:38:01 +0000 |
commit | 6f06d47ba0965013203af25c17854c01caae5544 (patch) | |
tree | 04d77626c58b8b519a07207a6249e97d86f13cc0 /compile | |
parent | d590ff257c81d5aac51928148ce74b0131bbf81c (diff) | |
download | gdb-6f06d47ba0965013203af25c17854c01caae5544.zip gdb-6f06d47ba0965013203af25c17854c01caae5544.tar.gz gdb-6f06d47ba0965013203af25c17854c01caae5544.tar.bz2 |
Class-fy partial_die_info
This patch is to class-fy partial_die_info. Two things special here,
- disable assignment operator, but keep copy ctor, which is used in
load_partial_dies,
- have a private ctor which is only used by dwarf2_cu::find_partial_die,
I don't want other code use it, so make it private,
gdb:
2018-02-26 Yao Qi <yao.qi@linaro.org>
* dwarf2read.c (struct partial_die_info): Add ctor, delete
assignment operator.
(load_partial_dies): Use ctor and copy ctor.
(read_partial_die): Update.
(dwarf2_cu::find_partial_die): Use ctor.
Diffstat (limited to 'compile')
0 files changed, 0 insertions, 0 deletions