PR10687 Printing c++ class with static array (of same type) can produce infinite output
Chris Moller
cmoller@redhat.com
Wed Apr 14 02:14:00 GMT 2010
Added yet another recursion detector (the third, so far as I noticed) to
cp-valprint.c. This one detects recursing static arrays which, although
it comes unstuck in the same place as the 9067 recursing static structs,
comes unstuck in a different way and thus needs a slightly different
mechanism to detect.
No regressions.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr10687.patch
Type: text/x-patch
Size: 7922 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20100414/c7785ac5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr10687-gdb-sum.diff
Type: text/x-patch
Size: 986 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20100414/c7785ac5/attachment-0001.bin>
More information about the Gdb-patches
mailing list