Skip to content

Commit ed4f18b

Browse files
committed
Merge branch 'PHP-8.0'
* PHP-8.0: gdbinit: use ____print_str to print htable keys
2 parents 589bdf3 + 5e57f37 commit ed4f18b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.gdbinit

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,8 @@ define ____print_ht
340340
end
341341
printf "[%d] ", $i
342342
if $p->key
343-
printf "%s => ", $p->key->val
343+
____print_str $p->key->val $p->key->len
344+
printf " => "
344345
else
345346
printf "%d => ", $p->h
346347
end

0 commit comments

Comments
 (0)