This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] gdb/python: Make convert_values_to_python return gdbpy_ref<>
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 25 Oct 2018 11:12:11 -0400
- Subject: [binutils-gdb] gdb/python: Make convert_values_to_python return gdbpy_ref<>
*** TEST RESULTS FOR COMMIT b352ceb6b4fc9f026944d307704076d1e6894de9 ***
Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: b352ceb6b4fc9f026944d307704076d1e6894de9
gdb/python: Make convert_values_to_python return gdbpy_ref<>
Make convert_values_to_python return a gdbpy_ref<> directly rather
than building a gdbpy_ref<>, releasing it, and then having a new
gdbpy_ref<> created to hold the result.
I also added a header comment to convert_values_to_python.
gdb/ChangeLog:
* python/py-function.c (convert_values_to_python): Return
gdbpy_ref<>. Add header comment.
(fnpy_call): Adjust.