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/10/09 08:58:03 UTC

svn commit: r1811540 - /httpd/httpd/trunk/.gdbinit

Author: rpluem
Date: Mon Oct  9 08:58:03 2017
New Revision: 1811540

URL: http://svn.apache.org/viewvc?rev=1811540&view=rev
Log:
* It needs to be the dereferenced node

Modified:
    httpd/httpd/trunk/.gdbinit

Modified: httpd/httpd/trunk/.gdbinit
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/.gdbinit?rev=1811540&r1=1811539&r2=1811540&view=diff
==============================================================================
--- httpd/httpd/trunk/.gdbinit (original)
+++ httpd/httpd/trunk/.gdbinit Mon Oct  9 08:58:03 2017
@@ -444,7 +444,7 @@ class DumpPoolAndChilds (gdb.Command):
       if node != 0:
         while node != 0:
           noded = node.dereference()
-          kb = kb + (4 << int(node['index']))
+          kb = kb + (4 << int(noded['index']))
           node = noded['next']
       i = i + 1
     self.total_free_blocks[salloc] = kb