]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Return gdbpy_ref<> from gdbpy_call_method
authorTom Tromey <tromey@adacore.com>
Tue, 11 Jun 2024 20:10:08 +0000 (14:10 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 13 Jun 2024 16:13:36 +0000 (10:13 -0600)
commit7c03e522d4e059a7c59533e4b01771a7cc4bb68e
treedd852f7f61ce526ff61b5eb98977d73463703a9f
parent54904469f71c06102e15707c2cb4964e496a8ed6
Return gdbpy_ref<> from gdbpy_call_method

This changes gdbpy_call_method to return a gdbpy_ref<>.  This is
slightly safer because it makes it simpler to correctly handle
reference counts.

Reviewed-By: Tom de Vries <tdevries@suse.de>
gdb/python/py-breakpoint.c
gdb/python/py-disasm.c
gdb/python/py-finishbreakpoint.c
gdb/python/py-framefilter.c
gdb/python/py-tui.c
gdb/python/python-internal.h