* dwarf2read.c (mark_common_block_symbol_computed): New function.
authorTom Tromey <tromey@redhat.com>
Wed, 26 Sep 2012 19:50:13 +0000 (19:50 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 26 Sep 2012 19:50:13 +0000 (19:50 +0000)
commit0971de02d569f48f50c5223bac8843d8f8660774
treefce8a9022513bf2a15c15a3329af53b50b437b60
parent4357ac6c6f95606fff49f976d9ebc11965967bc3
* dwarf2read.c (mark_common_block_symbol_computed): New function.
(read_common_block): Handle child DIEs with
DW_AT_data_member_location.
(new_symbol_full): Add special case for common blocks.
gdb/testsuite
* gdb.dwarf2/dw2-common-block.S: New file.
* gdb.dwarf2/dw2-common-block.exp: New file.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-common-block.S [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-common-block.exp [new file with mode: 0644]