httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject cvs commit: httpd-2.0 .gdbinit
Date Sat, 09 Aug 2003 20:28:08 GMT
brianp      2003/08/09 13:28:07

  Modified:    .        .gdbinit
  Log:
  fix some declarations so dump_bucket and dump_brigade will work in gdb-5.3
  
  Revision  Changes    Path
  1.12      +2 -2      httpd-2.0/.gdbinit
  
  Index: .gdbinit
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/.gdbinit,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- .gdbinit	23 Apr 2002 22:52:16 -0000	1.11
  +++ .gdbinit	9 Aug 2003 20:28:07 -0000	1.12
  @@ -68,7 +68,7 @@
   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 @@
       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 | "
  
  
  

Mime
View raw message