com php-src: Prevent warning when printing arrays in gdb: .gdbinit
| From: | Xinchen Hui | Date: | Fri, 14 Aug 2015 18:22:55 +0000 |
| Subject: | com php-src: Prevent warning when printing arrays in gdb: .gdbinit | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-88591@lists.php.net to get a copy of this message | ||
Commit: d27a8a7dcb833b937596de20c3e91333752c2144
Author: Adam Saponara <saponara@gmail.com> Fri, 14 Aug 2015 14:22:55 -0400
Parents: 243b9f6592f7b52a8efdc5aa0759166c920d8562
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d27a8a7dcb833b937596de20c3e91333752c2144
Log:
Prevent warning when printing arrays in gdb
Changed paths:
M .gdbinit
Diff:
diff --git a/.gdbinit b/.gdbinit
index 7ac7d3c..4772acb 100644
--- a/.gdbinit
+++ b/..gdbinit
@@ -181,7 +181,7 @@ define ____printzv_contents
printf "array: "
if ! $arg1
set $ind = $ind + 1
- ____print_ht $zvalue->value.arr
+ ____print_ht $zvalue->value.arr 1
set $ind = $ind - 1
set $i = $ind
while $i > 0