From: Dmitry Stogov Date: Mon, 9 Feb 2015 19:43:22 +0000 (+0300) Subject: Fixed dump_bt and printzv X-Git-Tag: PRE_PHP7_REMOVALS~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f0d9d1828b694ee3df3bd2d4b6f14933f641bd98;p=php Fixed dump_bt and printzv --- diff --git a/.gdbinit b/.gdbinit index 498099a411..79dfd8f21b 100644 --- a/.gdbinit +++ b/.gdbinit @@ -73,7 +73,7 @@ define dump_bt set $callFrameSize = (sizeof(zend_execute_data) + sizeof(zval) - 1) / sizeof(zval) - set $count = $ex->num_args + set $count = $ex->This.u2.num_args set $arg = 0 while $arg < $count if $arg > 0 @@ -181,7 +181,7 @@ define ____printzv_contents printf "array: " if ! $arg1 set $ind = $ind + 1 - ____print_ht $zvalue->value.ht 1 + ____print_ht &$zvalue->value.arr->ht 1 set $ind = $ind - 1 set $i = $ind while $i > 0