patch for pr9067
Chris Moller
cmoller@redhat.com
Tue Feb 2 22:12:00 GMT 2010
Tom
I just sent $subject to gdb-patches. Turns out it was simultaneously
more complex and simpler than we both thought: You can't just blindly
inhibit multiple printings of static members. Sometimes it's
legitimate, like when they legitimately appear multiple times, possibly
on different paths through the tree. The simple side is that after I'd
finished writing a tree-path-aware fix for the bug, while I was testing
it, I noticed that someone had already stuck in an attempted fix, using
obstacks, but had screwed up their use. Not that I'm a big fan of
obstacks, but on the least-tinkering-possible principle, I scrapped my
new stuff and fixed the obstacks.
Chris
More information about the Archer
mailing list