* .gdbinit (dump_table): Dump pointer value of table entries,

sometimes useful.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@773039 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Joe Orton
2009-05-08 16:01:11 +00:00
parent 489bc420dd
commit 8d0a31ea15

View File

@ -9,7 +9,7 @@ define dump_table
if $t[$i].val == (void *)0L
printf "[%u] '%s'=>NULL\n", $i, $t[$i].key
else
printf "[%u] '%s'='%s'\n", $i, $t[$i].key, $t[$i].val
printf "[%u] '%s'='%s' [%p]\n", $i, $t[$i].key, $t[$i].val, $t[$i].val
end
set $i = $i + 1
end