From owner-cvs-all Wed Sep 16 12:02:53 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA11226 for cvs-all-outgoing; Wed, 16 Sep 1998 12:02:53 -0700 (PDT) (envelope-from owner-cvs-all) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA11119; Wed, 16 Sep 1998 12:02:17 -0700 (PDT) (envelope-from jdp@austin.polstra.com) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.8/8.8.8) with ESMTP id MAA02069; Wed, 16 Sep 1998 12:01:44 -0700 (PDT) (envelope-from jdp) Message-Id: <199809161901.MAA02069@austin.polstra.com> To: Doug Rabson cc: cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/libexec/rtld-elf rtld.c In-reply-to: Your message of "Wed, 16 Sep 1998 09:05:06 BST." Date: Wed, 16 Sep 1998 12:01:44 -0700 From: John Polstra Sender: owner-cvs-all@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > 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. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth