[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: generating un-stripped libraries...





--On Wednesday, June 22, 2005 3:45 PM -0400 Francis Swasey <Frank.Swasey@uvm.edu> wrote:

On 6/22/05 2:39 PM, Aaron Richton wrote:
# gdb openldap-2.2.26/servers/slurpd/slurpd core.632
GNU gdb Red Hat Linux (6.3.0.0-0.30.1rh)
Copyright 2004 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"...Using host
libthread_db library "/lib/libthread_db.so.1".

Core was generated by `openldap-2.2.26/servers/slurpd/slurpd -d -1'.
Program terminated with signal 6, Aborted.
# 0  0x00625090 in ?? ()
(gdb) bt
# 0  0x00625090 in ?? ()
# 1  0xbefffa70 in ?? ()
# 2  0x006248bd in ?? ()
# 3  0xbefff9d8 in ?? ()
# 4  0x00000020 in ?? ()
# 5  0xbefff9d8 in ?? ()
# 6  0x00000000 in ?? ()
(gdb) quit

With an unstripped binary and all the redhat debuginfo rpm's installed
for the libraries (other than ldap)... this should show me real
information... shouldn't it?

That depends... Was the binary & libraries built with debugging symbols? ("-g" for gcc).


I build my OpenLDAP software with "-g -O2".

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html