This is a discussion on Trying to get Apache to run under gdb ant help is appreciated. within the Linux Web Servers forums, part of the Web Server and Related Forums category; I am compiling uder RedHat AS 2.1 QU2, Apache 2.0.44 - I took out all my modules and ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I am compiling uder RedHat AS 2.1 QU2, Apache 2.0.44 - I took out all
my modules and just have the source the way it comes off the apache web page. # export EXTRA_CFLAGS=-g # ./configure # make clean # make # make install # cd /usr/local/apache2 or cd .lib Either way it don't work and I get the same results: Note: I followed the instructions found here: http://httpd.apache.org/dev/debugging.html Here is the debug session results: note - Error while reading shared library symbols: Anyone know what I am doing wrong? [root@jake .libs]# gdb httpd GNU gdb Red Hat Linux (5.2-2) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions.Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux"... (gdb) b ap_process_request Breakpoint 1 at 0x806fa52: file http_request.c, line 284. (gdb) r -X -d /usr/local/apache2 Starting program: /root/apache/httpd/.libs/httpd -X -d /usr/local/apache2 Error while reading shared library symbols: Cannot get thread info: generic error Cannot find user-level thread for LWP 12168: no LWP to satisfy query (gdb) q Ken |