This is the mail archive of the gdb-patches@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]

Re: [PATCH 1/5] Introduce specialized versions of gdbpy_ref


>>>>> "Simon" == Simon Marchi <simon.marchi@ericsson.com> writes:

Simon> We currently have a single type, gdbpy_ref, which holds a
Simon> reference to a PyObject*.  This means that if we want to wrap an
Simon> inferior_object* (which is a sub-class-ish of PyObject), we need to cast
Simon> it when constructing the reference:

This was the subject of this patch:

    https://sourceware.org/ml/gdb-patches/2017-01/msg00277.html

I applied it all over the Python layer.

Tom


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