httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r1808671 - /httpd/httpd/trunk/.gdbinit
Date Mon, 18 Sep 2017 07:23:43 GMT
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:



Mime
View raw message