PING: [PATCH v4] fixed inherit_abstract_dies infinite recursive call

Joel Brobecker brobecker@adacore.com
Thu Feb 20 17:48:00 GMT 2014


> >> 2014-02-18  lin zuojian  <manjian2006@gmail.com>
> >>           Joel Brobecker  <brobecker@adacore.com>
> >>           Doug Evans  <xdje42@gmail.com>
> >>
> >>       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.
[...]
> Committed.
> [with a small tweak to the testcase (added a comment)]

I noticed something as well (in my testcase), which I think will make
it fail with an ARM bare-metal compiler. Fix attached and pushed.

gdb/testsuite/ChangeLog:

        * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
        in .section pseudo-op.

Tested on x86_64-linux...

-- 
Joel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Simplify-.section-in-dw2-icycle.S.patch
Type: text/x-diff
Size: 1725 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20140220/450c085d/attachment.bin>


More information about the Gdb-patches mailing list