summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2009-05-08 16:01:11 +0000
committerJoe Orton <jorton@apache.org>2009-05-08 16:01:11 +0000
commit8d0a31ea154ac8f0eaaa06cccfde9ca108f5b34f (patch)
treede57ea5880fafdda7545a9815bdc09bbb67894d2 /.gdbinit
parent489bc420ddbbb3ba7bd6f4b8b8e44fc4183deaf0 (diff)
downloadhttpd-8d0a31ea154ac8f0eaaa06cccfde9ca108f5b34f.tar.gz
* .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
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gdbinit b/.gdbinit
index 6194156dd2..5f47e25148 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -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