You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by do...@apache.org on 2001/07/18 20:44:45 UTC

cvs commit: httpd-2.0 .gdbinit

dougm       01/07/18 11:44:45

  Modified:    .        .gdbinit
  Log:
  add dump_filters macro for printing r->{input,output}_filters chain info
  
  Revision  Changes    Path
  1.7       +13 -0     httpd-2.0/.gdbinit
  
  Index: .gdbinit
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/.gdbinit,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- .gdbinit	2001/01/21 19:47:39	1.6
  +++ .gdbinit	2001/07/18 18:44:45	1.7
  @@ -71,3 +71,16 @@
   document dump_brigade
       Print bucket brigade info
   end
  +
  +define dump_filters
  +    set $f = $arg0
  +    while $f
  +        printf "%s(0x%lx): ctx=0x%lx, r=0x%lx, c=0x%lx\n", \
  +        $f->frec->name, (unsigned long)$f, (unsigned long)$f->ctx, \
  +        $f->r, $f->c
  +        set $f = $f->next
  +    end
  +end
  +document dump_filters
  +    Print filter chain info
  +end