This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug python/16035] New: gdb objects should hold strong reference to python wrappers


https://sourceware.org/bugzilla/show_bug.cgi?id=16035

            Bug ID: 16035
           Summary: gdb objects should hold strong reference to python
                    wrappers
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: python
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at redhat dot com

If a Python object wraps some gdb object, and the gdb object
has a back-link to the Python object, then this back-link
ought to be a strong reference that is freed only when the
underlying gdb object is freed.

One incorrect one is py-inferior.c; Doug sent a patch for this.

The other types need auditing as well though.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]