From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19964 invoked by alias); 23 Nov 2012 18:43:34 -0000 Received: (qmail 19955 invoked by uid 22791); 23 Nov 2012 18:43:33 -0000 X-SWARE-Spam-Status: No, hits=-6.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 23 Nov 2012 18:43:28 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qANIhQcn010198 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 23 Nov 2012 13:43:27 -0500 Received: from host2.jankratochvil.net (ovpn-116-39.ams2.redhat.com [10.36.116.39]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id qANIhNHa027551 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 23 Nov 2012 13:43:25 -0500 Date: Fri, 23 Nov 2012 18:43:00 -0000 From: Jan Kratochvil To: Pedro Alves Cc: "H.J. Lu" , gdb-patches@sourceware.org Subject: Re: [patch+7.5.1] Work around PR libc/13097 "linux-vdso.so.1" #3 Message-ID: <20121123184322.GA30659@host2.jankratochvil.net> References: <20121122201737.GA32172@host2.jankratochvil.net> <50AFBE11.2050908@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50AFBE11.2050908@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes 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 X-SW-Source: 2012-11/txt/msg00629.txt.bz2 On Fri, 23 Nov 2012 19:18:57 +0100, Pedro Alves wrote: > It's found in AT_SYSINFO_EHDR too. > > Alternatively to hard coding the names, maybe we could match the vdso address > found through that with the addresses found iterating the dynamic linker list, to > know which dynamic linker entry is the vdso. THis is how elfutils does it. But there can be multiple vDSOs I think while AT_SYSINFO_EHDR is only one so I have to check that. Jan