aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-param.c
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2022-05-24 11:54:40 +0100
committerAndrew Burgess <aburgess@redhat.com>2022-06-15 09:44:54 +0100
commit8a0b60471a75ce81b8ea067f6e87457b3ed0c7a3 (patch)
tree348a51966c354f6894e7c34f2dc9f6329ff956b1 /gdb/python/py-param.c
parent5fb28d2607a8325559b44a5dc0c8760236c81218 (diff)
downloadbinutils-8a0b60471a75ce81b8ea067f6e87457b3ed0c7a3.zip
binutils-8a0b60471a75ce81b8ea067f6e87457b3ed0c7a3.tar.gz
binutils-8a0b60471a75ce81b8ea067f6e87457b3ed0c7a3.tar.bz2
gdb/python: convert gdbpy_err_fetch to use gdbpy_ref
Convert the gdbpy_err_fetch class to make use of gdbpy_ref, this removes the need for manual reference count management, and allows the destructor to be removed. There should be no functional change after this commit. I think this cleanup is worth doing on its own, however, in a later commit I will want to copy instances of gdbpy_err_fetch, and switching to using gdbpy_ref means that I can rely on the default copy constructor, without having to add one that handles the reference counts, so this is good preparation for that upcoming change.
Diffstat (limited to 'gdb/python/py-param.c')
0 files changed, 0 insertions, 0 deletions