diff options
author | Marcus Boerger <helly@php.net> | 2007-02-08 15:28:43 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2007-02-08 15:28:43 +0000 |
commit | d455f0b64475ffb7c052342c7fd512fdf86ee494 (patch) | |
tree | 4b8eedfcdaef822f3e17a6611ec6a5dea7f881e4 /.gdbinit | |
parent | 72bf3e2037fa9b0d71738b2f49016b18fd3c3dc5 (diff) | |
download | php-git-d455f0b64475ffb7c052342c7fd512fdf86ee494.tar.gz |
- Show whether a zval is a reference in printzv user command
Diffstat (limited to '.gdbinit')
-rw-r--r-- | .gdbinit | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |