aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin/bfroms
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2026-02-21 12:07:37 -0700
committerTom Tromey <tom@tromey.com>2026-03-04 10:09:33 -0700
commitc2af35131a7c9fd9f6b3192418baf366b125efa4 (patch)
tree4309950449bc25de04ba6330051641962c87ebbb /sim/bfin/bfroms
parent0bdaa90f81cbc7128b9c3c6ba3c3a145b64c8814 (diff)
downloadbinutils-master.zip
binutils-master.tar.gz
binutils-master.tar.bz2
Use ref_ptr upcasts in Python codeHEADmaster
In some spots the Python code will do an explicit upcast of gdbpy_ref, like: return gdbpy_ref<> ((PyObject *) color_obj.release ()); Now that ref_ptr allows upcasts, and because gdb's Python objects derive from PyObject, these reshufflings can be expressed more simply. Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'sim/bfin/bfroms')
0 files changed, 0 insertions, 0 deletions