summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authorRuediger Pluem <rpluem@apache.org>2017-10-06 07:04:34 +0000
committerRuediger Pluem <rpluem@apache.org>2017-10-06 07:04:34 +0000
commitcf50743ba1aff4f20c54bcc750558d32514f3673 (patch)
tree58a434bb76009243cae89db228186b96f98c3312 /.gdbinit
parent36fe4df5f9cbc5e53e38405f50d4ed03aedcdb2f (diff)
downloadhttpd-cf50743ba1aff4f20c54bcc750558d32514f3673.tar.gz
Merge r1808671 from trunk:
* Correctly dump pools that have no tag Submitted by: rpluem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1811295 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit8
1 files changed, 7 insertions, 1 deletions
diff --git a/.gdbinit b/.gdbinit
index e28763d7d3..0e2d44ecd5 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -404,7 +404,13 @@ define dump_one_pool
set $done = 1
end
end
- printf "Pool '%s' [%p]: %d/%d free (%d blocks)\n", $p->tag, $p, $free, $size, $nodes
+ printf "Pool '"
+ if $p->tag
+ printf "%s", $p->tag
+ else
+ printf "no tag"
+ end
+ printf "' [%p]: %d/%d free (%d blocks)\n", $p, $free, $size, $nodes
end
# Set sane defaults for common signals: