This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Skip VDSO when reading SO list
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Andreas Arnez <arnez at linux dot vnet dot ibm dot com>
- Cc: gdb-patches at sourceware dot org, Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>
- Date: Mon, 19 Aug 2013 20:29:07 +0200
- Subject: Re: [PATCH] Skip VDSO when reading SO list
- References: <87d2p9oi4i dot fsf at br87z6lw dot de dot ibm dot com>
On Mon, 19 Aug 2013 16:44:13 +0200, Andreas Arnez wrote:
> On some Linux versions, the file name (l_name) of a VDSO's link map
> entry lies in read-only memory that is excluded from a core dump.
> When reading such a core dump, GDB complains:
>
> warning: Can't read pathname for load map: Input/output error.
I believe the right fix is in glibc instead:
[patch] Fix vDSO l_name for GDB's: Can't read pathname for load map:Input/output error.
http://sourceware.org/ml/libc-alpha/2009-10/msg00001.html
Message-ID: <20091004161706.GA27450@host0.dyn.jankratochvil.net>
Could you verify it works for you so that we could possibly ping it?
Fedora is using a similar patch but that is IMO a wrong workaround:
http://pkgs.fedoraproject.org/cgit/gdb.git/tree/gdb-core-open-vdso-warning.patch
Thanks,
Jan