>>>> "David" == David Malcolm
<dmalcolm(a)redhat.com> writes:
David> I'm attaching some HTML error reports.
David> Within gdb/python/py-breakpoint.c: gdbpy_breakpoints
David> there appear to be some false positives about returning NULL without
David> setting an exception
Yeah. On that path the error will have been set by 'build_bp_list'.
David>, but the "ob_refcnt of '*list' is 1 too high"
David> errors appear to be a genuine memory leak in gdb.breakpoints()
I agree.
David> Within gdb/python/py-inferior.c : gdbpy_inferiors
David> this seems very similar to the above, both with analogous false
David> positives, and with what appear to be genuine leaks of "*list".
Yup.
David> There are a few more of these; I'm trying to decide what the best place
David> to send them to is, given that there's a fair chance that the checker
David> has errors within it.
I guess gdb bug reports, if that isn't too much trouble.
http://sourceware.org/bugzilla/
Alternatively if most of the noise is gone from the plugin output, one
of us can run the plugin and work through the gdb bugs.
Tom