From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18328 invoked by alias); 22 Aug 2016 09:36:25 -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 18316 invoked by uid 89); 22 Aug 2016 09:36:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:AES128-SHA, PT_LOAD, segment, pt_load X-HELO: mail-pf0-f195.google.com Received: from mail-pf0-f195.google.com (HELO mail-pf0-f195.google.com) (209.85.192.195) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 22 Aug 2016 09:36:23 +0000 Received: by mail-pf0-f195.google.com with SMTP id i6so6018243pfe.0 for ; Mon, 22 Aug 2016 02:36:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=QGd6STNQUBZB+U9AE/tISTxZt+wfQ+jiFfDors5RnAw=; b=fVKvdLlyFpHEBn1OPlfTM73Nxt4hjKB2tByZRSqs1ZGTvSVUOkb2Wnalm4EC5Bnqor ykqE6pXQwlrAJVyw7tpy4WA2PrjHtrAtugaerHNXu5wEhxLXaRDrmQw+BN5qhGdplfKl bMGIVuA2DCvxkIVmgNbEa/C67PvzJIBF0GvSSbN9s98cvjRvAUoQ5T7Udi0DxMlh8DoH x3URBAAuCaJ/mi3dATKwEWQdOMklFONfhk3sqDobAe4kZJh13pw5Hnxnvynk39YevNNG ET0swnLQLsR69DE7h1+sfUrdoAbgZK6A8Z03P0FN0Gv13mzilnwAntka9ZOmHbllsGFX m7xA== X-Gm-Message-State: AEkooutjw8DcvvPZf0ifcbjYbbBmwJ6i702lVn98l1WVhaq9K6era3zBdbfDc7BW5N9YJQ== X-Received: by 10.98.11.86 with SMTP id t83mr40803965pfi.51.1471858581531; Mon, 22 Aug 2016 02:36:21 -0700 (PDT) Received: from E107787-LIN (gcc115.osuosl.org. [140.211.9.73]) by smtp.gmail.com with ESMTPSA id fe8sm30895032pad.2.2016.08.22.02.36.19 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Mon, 22 Aug 2016 02:36:20 -0700 (PDT) From: Yao Qi To: Pedro Alves Cc: Yao Qi , "gdb-patches\@sourceware.org" Subject: Re: warning: Could not load shared library symbols for linux-vdso.so.1. 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> Date: Mon, 22 Aug 2016 09:36:00 -0000 In-Reply-To: <99360558-784c-6bab-9d0c-86473a4f8b75@redhat.com> (Pedro Alves's message of "Fri, 19 Aug 2016 15:02:44 +0100") Message-ID: <868tvpcfhs.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-08/txt/msg00209.txt.bz2 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. --=20 Yao (=E9=BD=90=E5=B0=A7)