helly Thu Feb 8 15:28:43 2007 UTC
Modified files:
/php-src .gdbinit
Log:
- Show whether a zval is a reference in printzv user command
http://cvs.php.net/viewvc.cgi/php-src/.gdbinit?r1=1.19&r2=1.20&diff_format=u
Index: php-src/.gdbinit
diff -u php-src/.gdbinit:1.19 php-src/.gdbinit:1.20
--- php-src/.gdbinit:1.19 Mon May 22 19:43:15 2006
+++ php-src/.gdbinit Thu Feb 8 15:28:43 2007
@@ -95,7 +95,11 @@
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
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php