Fix PR symtab/16581
authorDoug Evans <xdje42@gmail.com>
Thu, 20 Feb 2014 17:13:53 +0000 (09:13 -0800)
committerDoug Evans <xdje42@gmail.com>
Thu, 20 Feb 2014 17:13:53 +0000 (09:13 -0800)
commitadde2bff0757e89175ede493f03b86953d0d9352
treef42059213d1c5352bee0f3fef964c2e362240f5a
parent3be75f87b9a0e5b06175dadedb268c609609c821
Fix PR symtab/16581

* dwarf2read.c (struct die_info): New member in_process.
(reset_die_in_process): New function.
(process_die): Set it at the start, reset when returning.
(inherit_abstract_dies): Only call process_die if origin_child_die
not already being processed.

testsuite/
* gdb.dwarf2/dw2-icycle.S: New file.
* gdb.dwarf2/dw2-icycle.c: New file.
* gdb.dwarf2/dw2-icycle.exp: New file.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-icycle.S [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-icycle.c [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-icycle.exp [new file with mode: 0644]