gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 21 Jan 2013 16:46:12 +0000 (16:46 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 21 Jan 2013 16:46:12 +0000 (16:46 +0000)
commit5a352474f94fb3d8b8d81cd5000eb2d10ad7c656
tree45479d53cf38bc535f3b1a06be98f81fd33edaca
parent822b8bf46be64f9055e3d4b944323881f102fd8d
gdb/
Fix gdb.fortran/common-block.exp crash in PIE mode.
* dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use
LOC_COMMON_BLOCK.
* f-valprint.c (info_common_command_for_block): Expect
LOC_COMMON_BLOCK in gdb_assert.
* symtab.h (struct general_symbol_info): Update comment for the
common_block member.
(domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member.
(enum address_class): New member LOC_COMMON_BLOCK.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/f-valprint.c
gdb/symtab.h