On Wed, 30 Jan 2002, J S wrote:
Hi,
I want to debug a problem I'm getting in Apache with libphp4.so, but when I
run gdb httpd, I get a bunch of messages saying:
no debugging symbols found
Does anyone here know what I need to do to fix this?
Yes :-)
Do something like this when
I tried that and it didn't make any difference.
JS
From: David Eriksson [EMAIL PROTECTED]
To: J S [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] no debugging symbols found
Date: Thu, 31 Jan 2002 10:00:19 +0100 (CET)
MIME-Version: 1.0
Received: from [194.47.142.175
Do something like this when you build Apache:
export EXTRA_CFLAGS=-g
./configure --prefix=$PREFIX --enable-module=so
make all install
I tried that and it didn't make any difference.
Don't do make install since it will strip the binary. Manually copy
src/httpd to your apache/bin directory
Nope. I tried that as well. Did a make clean in the apache directory, ran
make again, then went into src and did a gdb httpd. Still no debugging
symbols though.
$ gdb httpd
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public
Hi,
I want to debug a problem I'm getting in Apache with libphp4.so, but when I
run gdb httpd, I get a bunch of messages saying:
no debugging symbols found
Does anyone here know what I need to do to fix this?
Cheers,
JS.
_
On Wed, Jan 30, 2002 at 12:59:42PM +, J S wrote :
I want to debug a problem I'm getting in Apache with libphp4.so, but when I
run gdb httpd, I get a bunch of messages saying:
no debugging symbols found
Does anyone here know what I need to do to fix this?
Add --enable-debug to
: Markus Fischer [EMAIL PROTECTED]
To: J S [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] no debugging symbols found
Date: Wed, 30 Jan 2002 14:21:50 +0100
MIME-Version: 1.0
Received: from [216.92.131.4] by hotmail.com (3.2) with ESMTP id
MHotMailBE213CB2008140043896D85C8304426E0; Wed, 30
with libphp4.so (on AIX).
Do you use a stripped binary? (make install strips apache afaik) Try the
one from your source dir /path/to/apache_src/src/httpd.
regards,
Derick
From: Markus Fischer [EMAIL PROTECTED]
To: J S [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] no debugging
Thanks. Just tried that but it does the same.
From: [EMAIL PROTECTED]
To: J S [EMAIL PROTECTED]
CC: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] no debugging symbols found
Date: Wed, 30 Jan 2002 14:49:40 +0100 (CET)
MIME-Version: 1.0
Received: from [212.204.192.51] by hotmail.com