Date: Wed, 16 Sep 1998 20:17:11 +0100 (BST) From: Doug Rabson <dfr@nlsystems.com> To: John Polstra <jdp@polstra.com> Cc: cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/libexec/rtld-elf rtld.c Message-ID: <Pine.BSF.4.01.9809162015020.392-100000@herring.nlsystems.com> In-Reply-To: <199809161901.MAA02069@austin.polstra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 16 Sep 1998, John Polstra wrote: > > > I personally would prefer to leave the dynamic linker's entry out > > > of the GDB search list altogether. But Doug argues that it is > > > handy there for such things as setting breakpoints on dlopen(). > > > So it stays for now, at least. > ... > > I have been able to debug the whole rtld startup from _rtld() onwards, > > including relocatiing rtld itself and loading the main program's > > libraries. Having gdb able to see rtld's symbols is invaluable when > > working on this code. > > Yes, but to debug the rtld's code in this way, you have to build a > special (-g and unstripped) version of it anyway. I'd prefer to add > an ifdef RTLD_GDB, and only make the rtld's symbols visible if it is > defined. That's true. An ifdef might be useful but perhaps not till after 3.0R :-). -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.01.9809162015020.392-100000>