mirror of
https://github.com/apache/httpd.git
synced 2025-08-01 16:41:19 +00:00
* .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:
2
.gdbinit
2
.gdbinit
@ -9,7 +9,7 @@ define dump_table
|
|||||||
if $t[$i].val == (void *)0L
|
if $t[$i].val == (void *)0L
|
||||||
printf "[%u] '%s'=>NULL\n", $i, $t[$i].key
|
printf "[%u] '%s'=>NULL\n", $i, $t[$i].key
|
||||||
else
|
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
|
end
|
||||||
set $i = $i + 1
|
set $i = $i + 1
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user