On Fri, 2011-10-14 at 17:29 -0400, David Malcolm wrote:
On Thu, 2011-10-13 at 07:45 -0600, Tom Tromey wrote:
> David> What recipe are you using to check out and configure the code?
[...snip instructions for building gdb using gcc-python-plugin with
checking of reference counts turned on]
I'm attaching some HTML error reports.
Within gdb/python/py-breakpoint.c: gdbpy_breakpoints
there appear to be some false positives about returning NULL without
setting an exception, but the "ob_refcnt of '*list' is 1 too high"
errors appear to be a genuine memory leak in gdb.breakpoints()
Within gdb/python/py-inferior.c : gdbpy_inferiors
this seems very similar to the above, both with analogous false
positives, and with what appear to be genuine leaks of "*list".
There are a few more of these; I'm trying to decide what the best place
to send them to is, given that there's a fair chance that the checker
has errors within it.
Hope this is helpful
Dave