This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 4/4] Change Python code to use new_reference
On 30/04/18 05:21, Tom Tromey wrote:
> his changes a few spots in the Python code to use new_reference
> rather than the manual incref+constructor that was previously being
> done.
>
> 2018-04-29 Tom Tromey <tom@tromey.com>
>
> * varobj.c (varobj_set_visualizer): Use new_reference.
> * python/python.c (gdbpy_decode_line): Use new_reference.
> * python/py-cmd.c (cmdpy_function, cmdpy_completer_helper): Use
> new_reference.
> ---
The Python related changes are largely mechanical in nature but just wanted to note LGTM.
Cheers
Phil