This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [patch] Fix vDSO l_name for GDB's: Can't read pathname for loadmap: Input/output error.
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 08 Oct 2009 13:37:35 -0700
- Subject: Re: [patch] Fix vDSO l_name for GDB's: Can't read pathname for loadmap: Input/output error.
- References: <20091004161706.GA27450@host0.dyn.jankratochvil.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
As Roland already said, this patch isn't acceptable since it doesn't
really fix things.
The empty strings in question are always in ld.so and ld.so is present
in every program with data structures pointing to all kinds of data in
it. You likely need some other information from ld.so when performing
the loading of cores files.
Therefore just handle ld.so special and first in gdb. Make sure it's
loaded first (including the text segment) and then you should be golden.
- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAkrOTY8ACgkQ2ijCOnn/RHSbrwCcC9bQZ6b4LEddmdNIjlUbf1aY
zroAnjdUSWp6UYu0KJvyqYRzgCe8pQqk
=1w4o
-----END PGP SIGNATURE-----