From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20942 invoked by alias); 19 Aug 2013 18:30:38 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 20927 invoked by uid 89); 19 Aug 2013 18:30:38 -0000 X-Spam-SWARE-Status: No, score=-7.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 19 Aug 2013 18:30:37 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r7JITY53011455 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 19 Aug 2013 14:29:34 -0400 Received: from host2.jankratochvil.net (ovpn-116-54.ams2.redhat.com [10.36.116.54]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r7JITCos003409 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 19 Aug 2013 14:29:23 -0400 Date: Mon, 19 Aug 2013 18:30:00 -0000 From: Jan Kratochvil To: Andreas Arnez Cc: gdb-patches@sourceware.org, Andreas Krebbel Subject: Re: [PATCH] Skip VDSO when reading SO list Message-ID: <20130819182907.GA2145@host2.jankratochvil.net> References: <87d2p9oi4i.fsf@br87z6lw.de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87d2p9oi4i.fsf@br87z6lw.de.ibm.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2013-08/txt/msg00519.txt.bz2 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