From ce0a6e31c5e9cf2f5403446f832b0a0de07bba1c Mon Sep 17 00:00:00 2001 From: Greg Beaver Date: Thu, 30 Jul 2009 23:16:42 +0000 Subject: [PATCH] don't print NULLNULL for null values in a zval --- .gdbinit | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gdbinit b/.gdbinit index a676891359e..2bc3ab4b55a 100644 --- 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