Skip to content

Commit d27a8a7

Browse files
committed
Prevent warning when printing arrays in gdb
1 parent 243b9f6 commit d27a8a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gdbinit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ define ____printzv_contents
181181
printf "array: "
182182
if ! $arg1
183183
set $ind = $ind + 1
184-
____print_ht $zvalue->value.arr
184+
____print_ht $zvalue->value.arr 1
185185
set $ind = $ind - 1
186186
set $i = $ind
187187
while $i > 0

0 commit comments

Comments
 (0)