]> granicus.if.org Git - php/commitdiff
Fixed dumpbt
authorXinchen Hui <laruence@php.net>
Fri, 14 Aug 2015 08:20:53 +0000 (16:20 +0800)
committerXinchen Hui <laruence@php.net>
Fri, 14 Aug 2015 08:20:53 +0000 (16:20 +0800)
.gdbinit

index 7782138e953d78317258a64ccd145b59716d4b4c..7ac7d3cd7031d69babdc129f7997d0936c4e876f 100644 (file)
--- a/.gdbinit
+++ b/.gdbinit
@@ -101,7 +101,7 @@ define dump_bt
                                        ____print_str $zvalue->value.str->val $zvalue->value.str->len
                                end
                                if $type == 7
-                                       printf "array(%d)[%p]", $zvalue->value.arr->ht->nNumOfElements, $zvalue
+                                       printf "array(%d)[%p]", $zvalue->value.arr->nNumOfElements, $zvalue
                                end
                                if $type == 8
                                        printf "object[%p]", $zvalue