summaryrefslogtreecommitdiffstats
path: root/.gdbinit
diff options
context:
space:
mode:
authorRuediger Pluem <rpluem@apache.org>2017-10-06 08:25:27 +0200
committerRuediger Pluem <rpluem@apache.org>2017-10-06 08:25:27 +0200
commit94bfc3654ce743b64fda863f9d99b747c98fad64 (patch)
treed267dfdb635c81d32ac82978c3a6ac9a6ccb4a68 /.gdbinit
parent* Add dump_all_pools and dump_pool_and_childs. (diff)
downloadapache2-94bfc3654ce743b64fda863f9d99b747c98fad64.tar.xz
apache2-94bfc3654ce743b64fda863f9d99b747c98fad64.zip
* 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
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit8
1 files changed, 4 insertions, 4 deletions
diff --git a/.gdbinit b/.gdbinit
index 6e96979e98..042df453cc 100644
--- a/.gdbinit
+++ b/.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