cvs: php-src / .gdbinit
| From: | Marcus Boerger | Date: | Thu, 08 Feb 2007 15:28:43 +0000 |
| Subject: | cvs: php-src / .gdbinit | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-42975@lists.php.net to get a copy of this message | ||
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