]> granicus.if.org Git - php/commitdiff
fix printzv (refcount)
authorMichael Wallner <mike@php.net>
Tue, 18 Aug 2015 06:18:57 +0000 (08:18 +0200)
committerMichael Wallner <mike@php.net>
Tue, 18 Aug 2015 06:20:12 +0000 (08:20 +0200)
.gdbinit

index 7ac7d3cd7031d69babdc129f7997d0936c4e876f..2480b4aab2d2fabd698e2db2fda3b11d9bb59b3a 100644 (file)
--- a/.gdbinit
+++ b/.gdbinit
@@ -153,7 +153,7 @@ define ____printzv_contents
 
        # 15 == IS_INDIRECT
        if $type >= 5 && $type != 15
-               printf "(refcount=%d) ", $zvalue->value.counted->refcount
+               printf "(refcount=%d) ", $zvalue->value.counted->gc.refcount
        end
 
        if $type == 0