You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Matthieu Estrade <es...@ifrance.com> on 2003/05/13 21:10:37 UTC

RE : gdb

Hi,

Is it not just because httpd should be run with -X option in gdb (one
thread)?
I'am actually coding with redhat 9 and httpd-2.0.45. I am using the gdb
from redhat and this from i get the redhat 7.2 and i've never got
problems.

I use to compile my modules with -g and i do

gdb /usr/local/apache2/bin/httpd
run -X

Regards,

M. Estrade

-----Message d'origine-----
De : Greg Ames [mailto:gregames@apache.org] 
Envoyé : mardi 13 mai 2003 17:16
À : dev@httpd.apache.org
Objet : Re: gdb

Brian Akins wrote:
> On Tue, 2003-05-13 at 10:18, Jeff Trawick wrote:
> 
>>Brian Akins wrote:
>>
>>>Am I just a moron?  I cannot get Apache 2.0.45 to run with gdb. using
>>>gcc 3.2, gdb 5.3.  All I get is "... exit signal Trace/breakpoint
trap
>>>(5)"  I compiled with maintaner mode and tried putting -g in the
>>>CFLAGS.  I have tried this on Redhat 7.2 and 9 with stock apache
>>>modules..

>>Install a bunch of Linux distributions and try them all.
> 
> 
> Ugh!  We have standardized on Redhat already...
> 
> 
> Anyone had any luck on Redhat 7.2 with gcc2.96?

Try --with-mpm=prefork --disable-threads (along with the
--with-maintainer-mode) 
before you get too desperate.  The evolving thread support seems to be
the major 
challenge in Linux.

Greg




_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France


_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France