Trying to get Apache to run under gdb ant help is appreciated.

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-26-2003
Ken
 
Posts: n/a
Default Trying to get Apache to run under gdb ant help is appreciated.

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
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:53 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0