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: Ulrich Drepper <drepper@cygnus.com>
- Date: 13 Jul 1998 14:13:19 -0700
- Cc: libc-hacker@cygnus.com
- References: <Pine.LNX.3.96.980713164154.19573L-200000@alien.redhat.com>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
Cristian Gafton <gafton@redhat.com> writes:
> Hmm... The latest environment-related patches broke glibc.
I haven't really tested it, sorry. But I'm only using glibc 2.1 here.
> 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)
It's actually pretty easy to debug ld.so. Just start it as a program.
gdb ld.so
b dl_main
r io/pwd
or something like this.
> +
> +void
> +unsetenv (const char *name)
Why do you think this is necessary?
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------