[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debugging programs with debian elf?



> I got gcc-2.7.1 and all (I think) the libs installed properly, and I
> have successfully compiled some elf shared libraries, but gdb seems
> unable to debug any funcions contained in these shared libraries.  I
> did compile the libraries with -g.

You currently need a patched gdb to do this.  The patches which
supposedly allow this are available at susix.jura.uni-sb.de in
/pub/linux/source/compile/gdb-4.15.dif but I haven't tried them yet.
Updating gdb is on my list of things to do, but it's not a very high
priority right now.

David
-- 
David Engel                        Optical Data Systems, Inc.
david@ods.com                      1101 E. Arapaho Road
(214) 234-6400                     Richardson, TX  75081


Reply to: