mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
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
This commit is contained in:
parent
987bf5bbeb
commit
abe329343f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user