diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2018-09-10 11:48:28 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2018-10-25 12:20:18 +0100 |
commit | 50db9ef4c014d28dd64b2d660b043a40224a1a27 (patch) | |
tree | f64ad1681c392316ec8acd457a6aaf343ebb0207 /gdb/python/py-function.c | |
parent | ee67fd7f3f6ca78eede2862e309c0bcf266bbd7e (diff) | |
download | binutils-50db9ef4c014d28dd64b2d660b043a40224a1a27.zip binutils-50db9ef4c014d28dd64b2d660b043a40224a1a27.tar.gz binutils-50db9ef4c014d28dd64b2d660b043a40224a1a27.tar.bz2 |
gdb/python: Make cmdpy_completer_helper return gdbpy_ref<>
Make cmdpy_completer_helper 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.
gdb/ChangeLog:
* python/py-cmd.c (cmdpy_completer_helper): Return gdbpy_ref<>.
(cmdpy_completer_handle_brkchars): Adjust.
(cmdpy_completer): Adjust.
Diffstat (limited to 'gdb/python/py-function.c')
0 files changed, 0 insertions, 0 deletions