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
This commit is contained in:
Brian Pane
2003-08-09 20:28:07 +00:00
parent f36c0afd65
commit 3a3ecb8b08

View File

@ -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 | "