From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28826 invoked by alias); 28 Nov 2012 20:39:57 -0000 Received: (qmail 28817 invoked by uid 22791); 28 Nov 2012 20:39:56 -0000 X-SWARE-Spam-Status: No, hits=-9.0 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,TW_CP X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 28 Nov 2012 20:39:51 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id D858633DA04; Wed, 28 Nov 2012 20:39:50 +0000 (UTC) From: Mike Frysinger To: Pedro Alves Subject: Re: [patch+7.5.1] Work around PR libc/13097 "linux-vdso.so.1" #3 Date: Wed, 28 Nov 2012 20:39:00 -0000 User-Agent: KMail/1.13.7 (Linux/3.6.5; KDE/4.6.5; x86_64; ; ) Cc: gdb-patches@sourceware.org, Jan Kratochvil References: <20121122201737.GA32172@host2.jankratochvil.net> <201211271659.11975.vapier@gentoo.org> <50B558BF.5040300@redhat.com> In-Reply-To: <50B558BF.5040300@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2436315.MlKIc1U7H0"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201211281539.51490.vapier@gentoo.org> 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/msg00828.txt.bz2 --nextPart2436315.MlKIc1U7H0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-length: 1028 On Tuesday 27 November 2012 19:20:15 Pedro Alves wrote: > BTW, before that change, when the vDSO was nameless, what made sure it > didn't appear in the DSO list? Where was it skipped? i know little about the glibc internals when it comes to the debugger=20 interface. i think the gdb warning started happening after this commit: commit 73d7af4f4c2b394063cb0b3a33ee2b00b5ad80b4 Author: Ulrich Drepper Date: Sat Aug 13 22:24:08 2011 -0400 Implement LD_DEBUG=3Dscopes which contains: --- a/elf/rtld.c +++ b/elf/rtld.c @@ -1391,7 +1391,7 @@ of this helper program; chances are you did not inten= d=20 to run this program.\n\ char *copy =3D malloc (len); if (copy =3D=3D NULL) _dl_fatal_printf ("out of memory\n"); - l->l_libname->name =3D memcpy (copy, dsoname, len); + l->l_name =3D l->l_libname->name =3D memcpy (copy, dsoname, len); } =20 /* Add the vDSO to the object list. */ which is what is reverted in Fedora's glibc version -mike --nextPart2436315.MlKIc1U7H0 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 836 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJQtnaXAAoJEEFjO5/oN/WBMS8QALChuw2D4SRruqE7me680idc yBs29P7ZT1SFCNHLwnKqhxBtfkTIcsI/TZRqgBLd0FHM3z92tiHHL+D5lznNXiZe vH2CqL26MkU/KJPvPhLpMtV7snpuizyrHJr+myk9qfs25fAUXXTscImb+BlGQxaw rxUKzdJtNz57wZVwgNxxjXq9Vf0ZQgV/dIaI7vSVvgaJSEBgmXT+t2QOQLMDOsdP zH/h68n15LMTih8doc4609KpaN9bJ8lknPXwRwEXhDbIRBI3MBHrRxVPkQrlz26u vY8BpBqwLDw5PVDhO3VXfWuoMeeJQ7O9T5cPveTrkglJY++iXcNdDbUAn6lBJKLQ JLdVkpxrzR+Bz5hUlVV6srZXp8rKOgE5PSOHuLHiQAs3MeHc4chCw38B3GSuK3di gNbTG5ab+xwtZh1UIPdKS+r3EMVa40Q6+52tcghnw7bMuIgH/aBiotX2iAhJAysD gSDBVdYhDL7/lKr7PoQ1Oz6pV//08BkR26lVKVCt5WfAJjm4OpyDhmp5BZiwiJpR V2oS3BE2RcTrwnPEJRQhH8KeWJGVFCJovfp/M6ZkSsE84k4buKCovAvGJ0sNa6ug ip/YTEGZHTAao/vcDsNfZeIvlQauZz73Pz1hOF8MK0HZMNxDEIvT+bJkpV4GbLXx 11fPkrCYNHmK/CrFrVcn =LhGw -----END PGP SIGNATURE----- --nextPart2436315.MlKIc1U7H0--