Date: Wed, 26 Nov 1997 18:20:58 +0100 From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-hackers@FreeBSD.ORG Cc: darius@senet.com.au Subject: Re: Shared Libraries and debugging Message-ID: <19971126182058.04145@uriah.heep.sax.de> In-Reply-To: <199711250748.SAA16393@holly.rd.net>; from Daniel J. O'Connor on Tue, Nov 25, 1997 at 06:18:59PM %2B1030 References: <199711250748.SAA16393@holly.rd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
As Daniel J. O'Connor wrote: > I was fiddling with some code which links against shared libraries, and > noticed that when viewing a core dumb with gdb, it doesn't load the symbols > from the shared libraries, so consequently debugging the program is kind of > akward. I usually set a breakpoint at main(), run it till there, and then voila!, you can also specify breakpoints at shared lib functions... -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971126182058.04145>