blob: b0aa1e7794ff1425ffcc25b6df6285f7fa493416 [file] [log] [blame]
# gdb macros which may be useful for folks using gdb to debug
# apache. Delete it if it bothers you.
define dump_table
set $t = (table_entry *)((array_header *)$arg0)->elts
set $n = ((array_header *)$arg0)->nelts
set $i = 0
while $i < $n
printf "[%u] '%s'='%s'\n", $i, $t[$i].key, $t[$i].val
set $i = $i + 1
end
end
document dump_table
Print the key/value pairs in a table.
end