summaryrefslogtreecommitdiffstats
path: root/.gdbinit
diff options
context:
space:
mode:
authorDoug MacEachern <dougm@apache.org>2001-07-18 20:44:45 +0200
committerDoug MacEachern <dougm@apache.org>2001-07-18 20:44:45 +0200
commit2b8cc6f60fa5d74bf837e7b5db432ecf0a045ff5 (patch)
tree236c4cff7f6fcd36b08b77726f487301ec688d37 /.gdbinit
parentadd cleanup of SSLStateMachine to tls filter (diff)
downloadapache2-2b8cc6f60fa5d74bf837e7b5db432ecf0a045ff5.tar.xz
apache2-2b8cc6f60fa5d74bf837e7b5db432ecf0a045ff5.zip
add dump_filters macro for printing r->{input,output}_filters chain info
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89598 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit13
1 files changed, 13 insertions, 0 deletions
diff --git a/.gdbinit b/.gdbinit
index f65893c6d5..5a5c578c4c 100644
--- 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