You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2019/08/29 14:53:04 UTC
svn commit: r1866078 - /httpd/httpd/trunk/.gdbinit
Author: rpluem
Date: Thu Aug 29 14:53:04 2019
New Revision: 1866078
URL: http://svn.apache.org/viewvc?rev=1866078&view=rev
Log:
* 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.
Modified:
httpd/httpd/trunk/.gdbinit
Modified: httpd/httpd/trunk/.gdbinit
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/.gdbinit?rev=1866078&r1=1866077&r2=1866078&view=diff
==============================================================================
--- httpd/httpd/trunk/.gdbinit (original)
+++ httpd/httpd/trunk/.gdbinit Thu Aug 29 14:53:04 2019
@@ -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