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


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   `------------------------


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