diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2018-09-10 12:05:22 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2018-10-25 12:20:18 +0100 |
commit | b352ceb6b4fc9f026944d307704076d1e6894de9 (patch) | |
tree | 4898f1ba39b611a7fb9b609ef042c03e44848759 /gdb/linux-tdep.c | |
parent | 50db9ef4c014d28dd64b2d660b043a40224a1a27 (diff) | |
download | gdb-b352ceb6b4fc9f026944d307704076d1e6894de9.zip gdb-b352ceb6b4fc9f026944d307704076d1e6894de9.tar.gz gdb-b352ceb6b4fc9f026944d307704076d1e6894de9.tar.bz2 |
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.
Diffstat (limited to 'gdb/linux-tdep.c')
0 files changed, 0 insertions, 0 deletions