On Mon, 18 Jun 2001, Justin Erenkrantz wrote:
> On Mon, Jun 18, 2001 at 08:43:51AM -0500, Sapan Bhatia wrote:
> >
> > Hi--
> > I'm trying to trace through the complete course of an http request being
>intercepted and handled in Apache 2.0.16... but unfortunately, even doing a run
>-DONE_PROCESS doesn't seem to work. I've compiled everything with a -g flag, and
>before calling run in gdb, set a breakpoint in ap_process_request (in
>http_request.c). I've even tried an rbreak *, but it doesn't work...
>
> Use:
>
> run -DONE_PROCESS -DNO_DETACH
>
> You probably also need -DNO_DETACH to force httpd not to detach from the
> tty. IIRC, GDB doesn't like debugging detached processes.
-DONE_PROCESS automatically does -DNO_DETACH, so having both is redundant.
> See httpd-2.0/.gdbinit in the CVS repository - the "ro" macro does this.
>
> FWIW, I'll probably submit a patch soonish to restore the -X
> functionality. -- justin
Please don't. We specifically removed that option. The goal is to using
definitions for more stuff. Please review Dean's posts on this topic over
the last few years for the reasoning.
Ryan
_______________________________________________________________________________
Ryan Bloom [EMAIL PROTECTED]
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------