diff options
author | Ruediger Pluem <rpluem@apache.org> | 2019-08-29 16:53:04 +0200 |
---|---|---|
committer | Ruediger Pluem <rpluem@apache.org> | 2019-08-29 16:53:04 +0200 |
commit | cb8c40c581d17382cba338b3d90c67b914648984 (patch) | |
tree | 3c05815ca8b1538b5ba96d307eb9d57ad727eca6 /.gdbinit | |
parent | * Lock the worker, not the balancer. We even do not know if we have a balancer (diff) | |
download | apache2-cb8c40c581d17382cba338b3d90c67b914648984.tar.xz apache2-cb8c40c581d17382cba338b3d90c67b914648984.zip |
* Make it obsolete to supply a starting pool
Improve dump_all_pools by making it obsolete to supply a starting pool.
If the parameter is not supplied ap_pglobal which is a global symbol is
used as starting pool.
The pool parameter is still accepted and considered for backwards
compatibility or if ap_pglobal cannot be resolved.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1866078 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '.gdbinit')
-rw-r--r-- | .gdbinit | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -452,14 +452,18 @@ define dump_one_pool end define dump_all_pools - set $root = $arg0 + if $argc > 0 + set $root = $arg0 + else + set $root = ap_pglobal + end while $root->parent set $root = $root->parent end dump_pool_and_children $root end document dump_all_pools - Dump the whole pool hierarchy starting from apr_global_pool. Requires an arbitrary pool as starting parameter. + Dump the whole pool hierarchy starting from apr_global_pool. Optionally takes an arbitrary pool as starting parameter. end python |