You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Simon Knight <sk...@hotmail.com> on 2003/11/20 13:01:33 UTC

Can't debug httpd

I get the following error when I try to debug ra_dav using the method in 
HACKING.  After this both httpd and gdb are hung and have to be killed (-9). 
  I am root at the time, so there shouldn't be any permission issues.

Anyone know what is wrong?

#gdb httpd
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 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-gnu"...
(gdb) run -X
Starting program: /usr/local/apache2/bin/httpd -X
[New Thread 1075506528 (LWP 12538)]
Couldn't get registers: Operation not permitted.
(gdb)

_________________________________________________________________
Hot chart ringtones and polyphonics. Go to  
http://ninemsn.com.au/mobilemania/default.asp


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Can't debug httpd

Posted by Ben Collins-Sussman <su...@collab.net>.
On Thu, 2003-11-20 at 07:01, Simon Knight wrote:

> (gdb) run -X
> Starting program: /usr/local/apache2/bin/httpd -X
> [New Thread 1075506528 (LWP 12538)]
> Couldn't get registers: Operation not permitted.

Is it possible that httpd wasn't built with debugging symbols? 
(--enable-maintainer-mode)



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Can't debug httpd

Posted by "C. Michael Pilato" <cm...@collab.net>.
"Simon Knight" <sk...@hotmail.com> writes:

> I get the following error when I try to debug ra_dav using the method
> in HACKING.  After this both httpd and gdb are hung and have to be
> killed (-9). I am root at the time, so there shouldn't be any
> permission issues.
> 
> Anyone know what is wrong?
> 
> #gdb httpd
> GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
> Copyright 2003 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-gnu"...
> (gdb) run -X
> Starting program: /usr/local/apache2/bin/httpd -X
> [New Thread 1075506528 (LWP 12538)]
> Couldn't get registers: Operation not permitted.
> (gdb)

I had this problem when I first install RedHat 8 or 9 (I forget
which).  Had to grab a new kernel RPM to solve it.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org