On Mon, 26 Feb 2001, Martin Kraemer wrote:

> On Sun, Feb 25, 2001 at 04:31:00PM -0800, josh rotenberg wrote:
> > hi,
> >
> > i added a 'debug' target to apachectl for simplicity while debugging some
> > module stuff, just saves a couple keystrokes. thought people might find it
> > helpful. the diff to the 1.3.17 apachectl is attached.
> >
> > basically, 'apachectl debug' starts httpd with -X, backgrounds the process,
> > and then runs gdb against httpd with the new pid.
>
> Nice idea, but very unix+gdb specific. IIRC, dbx, for example, has a different
> syntax for attaching to a process. And what about non-unix (are they using
> apachectl at all?)?
>
> +0

It also seems a bit like overkill, why not just do gdb ./httpd -X?

Ryan

_______________________________________________________________________________
Ryan Bloom                              [EMAIL PROTECTED]
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------

Reply via email to