Date: Thu, 17 Aug 2000 00:17:03 +0700 (NSS) From: Max Khon <fjoe@iclub.nsu.ru> To: Andy@silverbrook.com.au Cc: stable@freebsd.org Subject: Re: breakpoints & rtld: bin/20373 Message-ID: <Pine.BSF.4.21.0008170011460.83090-100000@iclub.nsu.ru> In-Reply-To: <Pine.BSF.4.21.0008161822460.73429-100000@iclub.nsu.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0008170011460.83090-100000>