mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +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")
|
val = read_global_var ("static_fundamental_type_nodes")
|
||||||
if val == None:
|
if val == None:
|
||||||
return None
|
return None
|
||||||
return val[typenode >> 2].address()
|
return val[typenode >> 2].address
|
||||||
|
|
||||||
gtype = long(gtype)
|
gtype = long(gtype)
|
||||||
typenode = gtype - gtype % 4
|
typenode = gtype - gtype % 4
|
||||||
|
Loading…
Reference in New Issue
Block a user