From abe329343fc10e1c2c1aeaa82873beeb7a3f77a9 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Fri, 9 Mar 2018 09:49:52 +0100 Subject: [PATCH] gobject_gdb.py: 'address' is a property of gdb.Value not a function 'address' started out as a function, but it was changed to a property before the gdb Python support was release with gdb 7.0. https://bugzilla.gnome.org/show_bug.cgi?id=794194 --- gobject/gobject_gdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gobject/gobject_gdb.py b/gobject/gobject_gdb.py index 8c3022031..c86dbd1b7 100644 --- a/gobject/gobject_gdb.py +++ b/gobject/gobject_gdb.py @@ -28,7 +28,7 @@ def g_type_to_name (gtype): val = read_global_var ("static_fundamental_type_nodes") if val == None: return None - return val[typenode >> 2].address() + return val[typenode >> 2].address gtype = long(gtype) typenode = gtype - gtype % 4