From owner-freebsd-stable Wed Aug 16 10:19:29 2000 Delivered-To: freebsd-stable@freebsd.org Received: from iclub.nsu.ru (iclub.nsu.ru [193.124.222.66]) by hub.freebsd.org (Postfix) with ESMTP id 968CB37C14F for ; Wed, 16 Aug 2000 10:19:20 -0700 (PDT) (envelope-from fjoe@iclub.nsu.ru) Received: from localhost (fjoe@localhost) by iclub.nsu.ru (8.9.3/8.9.3) with ESMTP id AAA83251; Thu, 17 Aug 2000 00:17:04 +0700 (NSS) (envelope-from fjoe@iclub.nsu.ru) Date: Thu, 17 Aug 2000 00:17:03 +0700 (NSS) From: Max Khon To: Andy@silverbrook.com.au Cc: stable@freebsd.org Subject: Re: breakpoints & rtld: bin/20373 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi, there! On Wed, 16 Aug 2000, Max Khon wrote: > > I am wondering if anyone else is being affected by PR bin/20373 - > > setting of breakpoints in dload'd objects not working - and anyone > > (David O'Brien?) has a clue on it. The only reason I'm asking is that > > I'm running out of things to do that don't need rtld debug ability. > > I also can't believe it isn't affecting other people too, especially > > those doing any lib work on the system itself. Or can you all get > > away with static linking? (I can't unfortunately). > > this is definitely binutils issue. as jdp noted binaries compiled and > linked on RELENG_3 machine do not have this problem, moreover, if I link > .o compiled on RELENG_4 machine with ld on RELENG_3 machine everything > is fine under both RELENG_3 and RELENG_4. if I link .o compiled on > RELENG_3 machine with ld on RELENG_4, gdb fails to set breakpoints > properly. does anyone know how ld should handle relocations in .stab section? I noticed that binaries linked with ld 2.9.1 (on 3.5-STABLE machine) have .rel.stab section but binaries linked with ld 2.10.0 (on 4.1-STABLE machine) do not have it. .o files in both cases are 100% identical. /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message