diff options
author | Andrew Burgess <aburgess@redhat.com> | 2024-11-10 14:35:22 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2024-11-14 19:34:43 +0000 |
commit | dcf4c484539a9ab5fdd0c5ddf43617986480b9bc (patch) | |
tree | cdc3b0d6d7c767d841ce113e840579ebcf382621 /gdb/python/py-micmd.c | |
parent | 768f23b94f3360058cdfa873e75ba563a600e994 (diff) | |
download | binutils-dcf4c484539a9ab5fdd0c5ddf43617986480b9bc.zip binutils-dcf4c484539a9ab5fdd0c5ddf43617986480b9bc.tar.gz binutils-dcf4c484539a9ab5fdd0c5ddf43617986480b9bc.tar.bz2 |
gdb/python: remove PyObject_IsTrue call in gdbpy_handle_missing_debuginfo
In this review:
https://inbox.sourceware.org/gdb-patches/87wmirfzih.fsf@tromey.com
Tom pointed out that using PyObject_IsTrue as I was doing, though
technically fine, at least appears to be missing an error check, and
that it would be better to compare to Py_True directly. I made that
change in the patch Tom was commenting on, but I'd actually copied
that code from elsewhere in python/python.c, so this commit updates
the original code inline with Tom's review feedback.
There should be no functional change after this commit.
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/python/py-micmd.c')
0 files changed, 0 insertions, 0 deletions