diff options
author | Joe Orton <jorton@apache.org> | 2011-01-15 16:21:54 +0100 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2011-01-15 16:21:54 +0100 |
commit | 2cbd2e5add355fcab7aaa4533a88277b5da7be0b (patch) | |
tree | 07592ad8c61c90247bc8a6905a8e712d957570e5 | |
parent | * docs/manual/mod/mod_rewrite.xml: Fix docs to match code; only (diff) | |
download | apache2-2cbd2e5add355fcab7aaa4533a88277b5da7be0b.tar.xz apache2-2cbd2e5add355fcab7aaa4533a88277b5da7be0b.zip |
* .gdbinit: Add dump_request_tree macro.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1059357 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | .gdbinit | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -333,6 +333,16 @@ document dump_servers Print server_rec list info end +define dump_request_tree + set $r = $arg0 + set $i + while $r + printf "r=(0x%lx): uri=%s, handler=%s, r->main=0x%lx\n", \ + $r, $r->unparsed_uri, $r->handler ? $r->handler : "(none)", $r->main + set $r = $r->main + end +end + define dump_allocator printf "Allocator current_free_index = %d, max_free_index = %d\n", \ ($arg0)->current_free_index, ($arg0)->max_free_index |