mirror of
https://github.com/apache/httpd.git
synced 2025-08-16 17:04:42 +00:00
* Take the pointer from Yann: s/childs/children/
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1811285 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
8
.gdbinit
8
.gdbinit
@ -418,7 +418,7 @@ define dump_all_pools
|
||||
while $root->parent
|
||||
set $root = $root->parent
|
||||
end
|
||||
dump_pool_and_childs $root
|
||||
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.
|
||||
@ -426,10 +426,10 @@ end
|
||||
|
||||
python
|
||||
class DumpPoolAndChilds (gdb.Command):
|
||||
"""Dump a pool and all its childs"""
|
||||
"""Dump the whole pool hierarchy starting from the given pool."""
|
||||
|
||||
def __init__ (self):
|
||||
super (DumpPoolAndChilds, self).__init__ ("dump_pool_and_childs", gdb.COMMAND_USER)
|
||||
super (DumpPoolAndChilds, self).__init__ ("dump_pool_and_children", gdb.COMMAND_USER)
|
||||
|
||||
def _allocator_free_blocks(self, alloc):
|
||||
salloc = "%s" % (alloc)
|
||||
@ -501,7 +501,7 @@ class DumpPoolAndChilds (gdb.Command):
|
||||
|
||||
DumpPoolAndChilds ()
|
||||
end
|
||||
document dump_pool_and_childs
|
||||
document dump_pool_and_children
|
||||
Dump the whole pool hierarchy starting from the given pool.
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user