gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 24 May 2012 22:09:21 +0000 (22:09 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 24 May 2012 22:09:21 +0000 (22:09 +0000)
commit685b110556624dff5bd9614edb016bad9b0642fc
tree64d053f31f925106a6e718c3dde77d56d850c704
parent2c1fa544e14e0fa78b842c50c03b49dcfd3f6e02
gdb/
PR symtab/13277: Resolving opaque structures in ICC generated binaries.
* dwarf2read.c (struct dwarf2_cu) <producer_is_icc>: New field.
(producer_is_gxx_lt_4_6): Move the checking and caching to...
(check_producer): ... this new function, which also checks for ICC
and caches the result.
(producer_is_icc): New function.
(read_structure_type): Don't set TYPE_STUB_SUPPORTED if the
producer was ICC.

gdb/testsuite/
PR symtab/13277: Resolving opaque structures in ICC generated binaries.
* gdb.dwarf2/dw2-icc-opaque.S: New file.
* gdb.dwarf2/dw2-icc-opaque.exp: New file.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-icc-opaque.S [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-icc-opaque.exp [new file with mode: 0644]