]> granicus.if.org Git - apache/commitdiff
add dump_filters macro for printing r->{input,output}_filters chain info
authorDoug MacEachern <dougm@apache.org>
Wed, 18 Jul 2001 18:44:45 +0000 (18:44 +0000)
committerDoug MacEachern <dougm@apache.org>
Wed, 18 Jul 2001 18:44:45 +0000 (18:44 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89598 13f79535-47bb-0310-9956-ffa450edef68

.gdbinit

index f65893c6d59720733c5d46326a44044f72e71e4b..5a5c578c4c51de6f0ceed9bffb679355f7523f30 100644 (file)
--- a/.gdbinit
+++ b/.gdbinit
@@ -71,3 +71,16 @@ end
 document dump_brigade
     Print bucket brigade info
 end
+
+define dump_filters
+    set $f = $arg0
+    while $f
+        printf "%s(0x%lx): ctx=0x%lx, r=0x%lx, c=0x%lx\n", \
+        $f->frec->name, (unsigned long)$f, (unsigned long)$f->ctx, \
+        $f->r, $f->c
+        set $f = $f->next
+    end
+end
+document dump_filters
+    Print filter chain info
+end