httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <...@covalent.net>
Subject Re: trivial addition to apachectl
Date Mon, 26 Feb 2001 20:32:22 GMT
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                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message