Skip to content

Commit 5e57f37

Browse files
committed
Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4: gdbinit: use ____print_str to print htable keys
2 parents 121790e + 6b631f0 commit 5e57f37

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)