This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Skip VDSO when reading SO list


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


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