Re: How do I debug a module ?

2009-07-24 Thread ricardo13
hi, The GDB session is very large. mach...@tkt-test:/usr/local/apache2$ sudo gdb bin/httpd GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and

Re: How do I debug a module ?

2009-07-24 Thread Tom Evans
On Fri, 2009-07-24 at 03:00 -0700, ricardo13 wrote: hi, The GDB session is very large. trim valid debug My module calls mod_teste !!! Thank you Ricardo So whats the problem? It seems to be working fine. Your breakpoint is on ap_process_request, and you single step through it,

Problems in my module

2009-07-24 Thread ricardo13
Hi, My idea's create queues for prioritize requests, so I would want handle requests (perfectly as worker.c, but not handle sockets). File worker.c adds and removes sockets in a queue. I want to create two queues of request where there is 2 threads. One thread adds request, according