This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/2] Return gdbpy_ref in a couple more places
- From: Andrew Burgess <andrew dot burgess at embecosm dot com>
- To: gdb-patches at sourceware dot org
- Cc: Andrew Burgess <andrew dot burgess at embecosm dot com>
- Date: Wed, 24 Oct 2018 20:12:01 +0100
- Subject: [PATCH 0/2] Return gdbpy_ref in a couple more places
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