From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10997 invoked by alias); 23 Nov 2012 16:12:48 -0000 Received: (qmail 10982 invoked by uid 22791); 23 Nov 2012 16:12:45 -0000 X-SWARE-Spam-Status: No, hits=-3.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO glazunov.sibelius.xs4all.nl) (83.163.83.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 23 Nov 2012 16:12:40 +0000 Received: from glazunov.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3) with ESMTP id qANGCYM7020940; Fri, 23 Nov 2012 17:12:34 +0100 (CET) Received: (from kettenis@localhost) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3/Submit) id qANGCXUC004949; Fri, 23 Nov 2012 17:12:33 +0100 (CET) Date: Fri, 23 Nov 2012 16:12:00 -0000 Message-Id: <201211231612.qANGCXUC004949@glazunov.sibelius.xs4all.nl> From: Mark Kettenis To: palves@redhat.com CC: jan.kratochvil@redhat.com, gdb-patches@sourceware.org In-reply-to: <50AF9DBF.1090406@redhat.com> (message from Pedro Alves on Fri, 23 Nov 2012 16:01:03 +0000) Subject: Re: [patch+7.5.1] Work around PR libc/13097 "linux-vdso.so.1" #3 References: <20121122201737.GA32172@host2.jankratochvil.net> <50AF65E1.1090308@redhat.com> <20121123123952.GA15371@host2.jankratochvil.net> <50AF9DBF.1090406@redhat.com> 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/msg00619.txt.bz2 > Date: Fri, 23 Nov 2012 16:01:03 +0000 > From: Pedro Alves > > This means that looking for relative path DSOs in the file system is > currently depending on GDB's current directory. Yup, you lose. > My favorite is opening a DSO symlink like we /proc/PID/exe. That doesn't really help. If you replace the DSO the symlink will point at the new one, not the one loaded by the executable.