]> granicus.if.org Git - apache/commitdiff
* .gdbinit (dump_table): Dump pointer value of table entries,
authorJoe Orton <jorton@apache.org>
Fri, 8 May 2009 16:01:11 +0000 (16:01 +0000)
committerJoe Orton <jorton@apache.org>
Fri, 8 May 2009 16:01:11 +0000 (16:01 +0000)
  sometimes useful.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@773039 13f79535-47bb-0310-9956-ffa450edef68

.gdbinit

index 6194156dd27f65c9353200c650209fb8630c60d1..5f47e25148023168a9e61bc48af8985dd88c09ca 100644 (file)
--- 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