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 2017/09/18 07:23:43 UTC
svn commit: r1808671 - /httpd/httpd/trunk/.gdbinit
Author: rpluem
Date: Mon Sep 18 07:23:43 2017
New Revision: 1808671
URL: http://svn.apache.org/viewvc?rev=1808671&view=rev
Log:
* Correctly dump pools that have no tag
Modified:
httpd/httpd/trunk/.gdbinit
Modified: httpd/httpd/trunk/.gdbinit
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/.gdbinit?rev=1808671&r1=1808670&r2=1808671&view=diff
==============================================================================
--- httpd/httpd/trunk/.gdbinit (original)
+++ httpd/httpd/trunk/.gdbinit Mon Sep 18 07:23:43 2017
@@ -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: