From: Marcus Boerger Date: Thu, 8 Feb 2007 15:28:43 +0000 (+0000) Subject: - Show whether a zval is a reference in printzv user command X-Git-Tag: RELEASE_1_0_1~299 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d455f0b64475ffb7c052342c7fd512fdf86ee494;p=php - Show whether a zval is a reference in printzv user command --- diff --git a/.gdbinit b/.gdbinit index bdb5c69066..5b11d4c26d 100644 --- a/.gdbinit +++ b/.gdbinit @@ -95,7 +95,11 @@ define ____printzv_contents set $zvalue = $arg0 set $type = $zvalue->type - printf "(refcount=%d) ", $zvalue->refcount + printf "(refcount=%d", $zvalue->refcount + if $zvalue->is_ref + printf ",is_ref" + end + printf ") " if $type == 0 printf "NULL" end