summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2015-02-09 22:43:22 +0300
committerDmitry Stogov <dmitry@zend.com>2015-02-09 22:43:22 +0300
commitf0d9d1828b694ee3df3bd2d4b6f14933f641bd98 (patch)
tree6eaa1b5aea4035b00d2ac7f27a463d60862941b1 /.gdbinit
parent9d5d736869d26268d3bbf6dee1990728deda10c8 (diff)
downloadphp-git-f0d9d1828b694ee3df3bd2d4b6f14933f641bd98.tar.gz
Fixed dump_bt and printzv
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit4
1 files changed, 2 insertions, 2 deletions
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