From 3a3ecb8b08acfe30b984df86b2e429292b40ee2f Mon Sep 17 00:00:00 2001 From: Brian Pane Date: Sat, 9 Aug 2003 20:28:07 +0000 Subject: [PATCH] fix some declarations so dump_bucket and dump_brigade will work in gdb-5.3 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100957 13f79535-47bb-0310-9956-ffa450edef68 --- .gdbinit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gdbinit b/.gdbinit index f60f31a48e..0fbe4a1a5a 100644 --- a/.gdbinit +++ b/.gdbinit @@ -68,7 +68,7 @@ end define dump_bucket_ex # arg0 == bucket # arg1 == suppress header? - set $bucket = (apr_bucket *)$arg0 + set $bucket = (struct apr_bucket *)$arg0 set $sh = $arg1 set $refcount = -1 @@ -202,7 +202,7 @@ define dump_brigade set $bb = (apr_bucket_brigade *)$arg0 set $bucket = $bb->list.next set $sentinel = ((char *)((&($bb->list)) \ - - ((size_t) &((apr_bucket *)0)->link))) + - ((size_t) &((struct apr_bucket *)0)->link))) printf "dump of brigade 0x%lx\n", (unsigned long)$bb printf " | type (address) | length | " -- 2.50.1