]> granicus.if.org Git - apache/commitdiff
* .gdbinit: You are in a maze of twisty little subrequests, all alike...
authorJoe Orton <jorton@apache.org>
Tue, 8 Jun 2010 07:54:26 +0000 (07:54 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 8 Jun 2010 07:54:26 +0000 (07:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@952560 13f79535-47bb-0310-9956-ffa450edef68

.gdbinit

index 5b483e6616093f7f11c8ebc827d16ecac7c8c174..60169e69dc243f27621406e0c8496fb971d75d0c 100644 (file)
--- a/.gdbinit
+++ b/.gdbinit
@@ -290,7 +290,9 @@ define dump_filter_chain
         printf "  %s(0x%lx): type=%d, ctx=0x%lx, r=%s(0x%lx), c=0x%lx\n", \
           $f->frec->name, (unsigned long)$f, $f->frec->ftype, (unsigned long)$f->ctx, \
           $f->r == $r ? "r" : ($f->r == 0L ? "null" : \
-          ($f->r == $r->main ? "r->main" : "????")), $f->r, $f->c
+          ($f->r == $r->main ? "r->main" :  \
+          ($r->main && $f->r == $r->main->main ? "r->main->main" : "????"))), \
+          $f->r, $f->c
 
         set $f = $f->next
     end