This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Sanity check PIE displacement (like the PIC one)


>>>>> "Daniel" == Daniel Jacobowitz <dan@codesourcery.com> writes:

Jan> warning: .dynamic section for "/lib64/librt-2.11.1.so" is not at the expected address
Jan> warning: difference appears to be caused by prelink, adjusting expectations

Tom> I don't find that PIC message particularly useful, either.
Tom> Is there some situation where that information is helpful?
Tom> If not, then IMO we should remove it.

Daniel> Under what circumstances would you remove it?  I'd favor
Daniel> removing the former warning when the second one would be
Daniel> printed, but not otherwise.

Ok.

Daniel> The first message is a real life-saver.  It triggers when you
Daniel> have the wrong C library when loading a core file or using a
Daniel> sysroot.

Thanks, I had not considered this scenario.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]