From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 121008 invoked by alias); 22 Aug 2016 19:47:57 -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 120993 invoked by uid 89); 22 Aug 2016 19:47:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 22 Aug 2016 19:47:56 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id F2790635EA; Mon, 22 Aug 2016 19:47:54 +0000 (UTC) Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u7MJlrl9030801; Mon, 22 Aug 2016 15:47:54 -0400 Subject: Re: warning: Could not load shared library symbols for linux-vdso.so.1. To: Yao Qi References: <86twercyuv.fsf@gmail.com> <89b5bdc8-0be2-538e-3932-1f5d4a1bc1e8@redhat.com> <86eg5ucmcv.fsf@gmail.com> <96141d5a-3384-8314-1274-d1348dafe0c5@redhat.com> <86twehaxl3.fsf@gmail.com> <99360558-784c-6bab-9d0c-86473a4f8b75@redhat.com> <868tvpcfhs.fsf@gmail.com> Cc: "gdb-patches@sourceware.org" From: Pedro Alves Message-ID: Date: Mon, 22 Aug 2016 19:47:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <868tvpcfhs.fsf@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2016-08/txt/msg00218.txt.bz2 On 08/22/2016 10:36 AM, Yao Qi wrote: > Pedro Alves writes: > >> >> If reading the elf out of core memory works, then that means that >> there must be a load segment that covers it. So that means we should >> be able to find a PT_LOAD segment for the vDSO, in the core file. E.g.,: >> > > It is a good idea to tell the size of vDSO by a PT_LOAD segment. I > can't figure out a case this doesn't work. Patch is good me. > > Note that I am unable to run the tests on the aarch64 machine where I > reported the problem, because it is stuck in the kernel upgrade. > However, I run your patch on other aarch64 machine. Your patch does > fixes the fails in vdso-warning.exp. > > Thanks a lot for fixing it in different ways. > Alright, I've filed PR 20515 and then pushed to both master and 7.12. Thanks, Pedro Alves