com php-src: Fixed dump_bt and printzv: .gdbinit

From: Date: Mon, 09 Feb 2015 19:43:22 +0000
Subject: com php-src: Fixed dump_bt and printzv: .gdbinit
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-84752@lists.php.net to get a copy of this message
Commit: f0d9d1828b694ee3df3bd2d4b6f14933f641bd98 Author: Dmitry Stogov <dmitry@zend.com> Mon, 9 Feb 2015 22:43:22 +0300 Parents: 9d5d736869d26268d3bbf6dee1990728deda10c8 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f0d9d1828b694ee3df3bd2d4b6f14933f641bd98 Log: Fixed dump_bt and printzv Changed paths: M .gdbinit Diff: diff --git a/.gdbinit b/.gdbinit index 498099a..79dfd8f 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

« previous php.cvs (#84752) next »