Another obstack patch.

Chris Moller cmoller@redhat.com
Thu Apr 22 14:06:00 GMT 2010


There are two separate recursion control obstacks in cp-valprint.c, both 
originally incorrectly using obstack_next_free().  I fixed one of those 
in the patch for pr9167, but the other one would have collided with the 
patch for pr10687.  Here is the fix for the second instance.  (No new 
testcases are required--the existing t/cs for pr9067, pr9167, and 
pr10687 test the code in this patch.)

Chris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: obstack.patch
Type: text/x-patch
Size: 3186 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20100422/9d3881e9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: obstack-sum.diff
Type: text/x-patch
Size: 1983 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20100422/9d3881e9/attachment-0001.bin>


More information about the Gdb-patches mailing list