[RFA 4/4] Change Python code to use new_reference
Phil Muldoon
pmuldoon@redhat.com
Mon Apr 30 13:34:00 GMT 2018
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
More information about the Gdb-patches
mailing list