]> granicus.if.org Git - php/commitdiff
don't print NULLNULL for null values in a zval
authorGreg Beaver <cellog@php.net>
Thu, 30 Jul 2009 23:16:42 +0000 (23:16 +0000)
committerGreg Beaver <cellog@php.net>
Thu, 30 Jul 2009 23:16:42 +0000 (23:16 +0000)
.gdbinit

index a676891359efaad69f65b4b651d54503dd8f8b92..2bc3ab4b55a7449e70537677a760ca6c79ff0fac 100644 (file)
--- a/.gdbinit
+++ b/.gdbinit
@@ -158,8 +158,9 @@ define ____printzv_contents
        printf ") "
        if $type == 0
                printf "NULL"
+       else
+               ____printz_type $type
        end
-       ____printz_type $type
        if $type == 1
                printf ": %ld", $zvalue->value.lval
        end