diff options
author | Jim Blandy <jimb@codesourcery.com> | 2007-12-13 19:02:51 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2007-12-13 19:02:51 +0000 |
commit | 3690dd376bc19907f4c229fc3471b9898386d32c (patch) | |
tree | 48365d4042e79d418e22c74b6c10fe1aeb5fc9d7 /gdb/varobj.h | |
parent | dfdfb3ca984ae5d2775c942705e79794d0c82d8c (diff) | |
download | gdb-3690dd376bc19907f4c229fc3471b9898386d32c.zip gdb-3690dd376bc19907f4c229fc3471b9898386d32c.tar.gz gdb-3690dd376bc19907f4c229fc3471b9898386d32c.tar.bz2 |
* dwarf2read.c (attr_form_is_constant): New function.
(dwarf2_add_field): Use it and attr_form_is_section_offset to
recognize DW_AT_data_member_location attributes. Use
dwarf2_get_attr_constant_value when the attribute is a constant.
* dwarf2read.c (attr_form_is_section_offset): New function.
(dwarf_add_member_fn, read_common_block, read_partial_die)
(dwarf2_symbol_mark_computed): Use it, instead of writing it out.
Diffstat (limited to 'gdb/varobj.h')
0 files changed, 0 insertions, 0 deletions