This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: patch for glibc-2.0.7
- To: Cristian Gafton <gafton@redhat.com>
- Subject: Re: patch for glibc-2.0.7
- From: Roland McGrath <roland@frob.com>
- Date: Mon, 13 Jul 1998 17:39:23 -0400
- Cc: Ulrich Drepper <drepper@cygnus.com>, libc-hacker@cygnus.com
> 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).