[PATCH 0/2] Return gdbpy_ref in a couple more places

Andrew Burgess andrew.burgess@embecosm.com
Wed Oct 24 19:12:00 GMT 2018


I spotted a couple of places where a gdbpy_ref was released in one
function only to be recreated again later.

Thanks,
Andrew

Andrew Burgess (2):
  gdb/python: Make a function return gdbpy_ref<>
  gdb/python: Make a function return gdbpy_ref<>

 gdb/ChangeLog            | 12 ++++++++++++
 gdb/python/py-cmd.c      | 16 ++++++++--------
 gdb/python/py-function.c |  9 ++++++---
 3 files changed, 26 insertions(+), 11 deletions(-)

-- 
2.14.5



More information about the Gdb-patches mailing list