This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
patch for pr9067
- From: Chris Moller <cmoller at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Project Archer <archer at sourceware dot org>
- Date: Tue, 02 Feb 2010 17:12:46 -0500
- Subject: patch for pr9067
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