This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


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

Re: patch for glibc-2.0.7


> Hmm... The latest environment-related patches broke glibc. Not a very
> pleasant surprise, even more that the runtime loader is so f%*&ing hard to
> debug... (unless I am missing some magic way to step into its code)

You most certainly can debug ld.so with gdb.  If you can get the problem by
running the program from ld.so (i.e.  "ld.so prog args"), then gdb on that
should work fine I think.  Otherwise use add-symbol-file (you have to
calculate the run-time address of .text--not the loadbase!--and give that
in the command).


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