mirror of
https://github.com/apache/httpd.git
synced 2025-08-20 16:09:55 +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
|
while $root->parent
|
||||||
set $root = $root->parent
|
set $root = $root->parent
|
||||||
end
|
end
|
||||||
dump_pool_and_childs $root
|
dump_pool_and_children $root
|
||||||
end
|
end
|
||||||
document dump_all_pools
|
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. Requires an arbitrary pool as starting parameter.
|
||||||
@ -426,10 +426,10 @@ end
|
|||||||
|
|
||||||
python
|
python
|
||||||
class DumpPoolAndChilds (gdb.Command):
|
class DumpPoolAndChilds (gdb.Command):
|
||||||
"""Dump a pool and all its childs"""
|
"""Dump the whole pool hierarchy starting from the given pool."""
|
||||||
|
|
||||||
def __init__ (self):
|
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):
|
def _allocator_free_blocks(self, alloc):
|
||||||
salloc = "%s" % (alloc)
|
salloc = "%s" % (alloc)
|
||||||
@ -501,7 +501,7 @@ class DumpPoolAndChilds (gdb.Command):
|
|||||||
|
|
||||||
DumpPoolAndChilds ()
|
DumpPoolAndChilds ()
|
||||||
end
|
end
|
||||||
document dump_pool_and_childs
|
document dump_pool_and_children
|
||||||
Dump the whole pool hierarchy starting from the given pool.
|
Dump the whole pool hierarchy starting from the given pool.
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user