From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS17314 8.43.84.0/22 X-Spam-Status: No, score=-4.4 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 918EB1F8C6 for ; Wed, 28 Jul 2021 18:34:04 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B3BF6388A408 for ; Wed, 28 Jul 2021 18:34:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B3BF6388A408 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1627497243; bh=iRgHsb4SlEUrx44UkFpIaO4qlA7rpIVCTqy8OyWFigQ=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=J5u+red0atZNEpK0YCXlgCvrGhLHI+pHuS5jqw+cCDzeXpKLtolWxrnNm8i667W6r Cvkcqh8tWmhZH3NHf80mMT2+xpIhhe2gAQtZ4Ymb1V0FcdS/Phy7qNWhcuJRHJktUK ugLuQDcfQvO8Owqm8I8QPqTN4R1ad1sz4DJDdRe8= Received: from rcdn-iport-9.cisco.com (rcdn-iport-9.cisco.com [173.37.86.80]) by sourceware.org (Postfix) with ESMTPS id 81CB5386197D for ; Wed, 28 Jul 2021 18:33:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 81CB5386197D X-IronPort-AV: E=Sophos;i="5.84,276,1620691200"; d="scan'208";a="822552633" Received: from rcdn-core-8.cisco.com ([173.37.93.144]) by rcdn-iport-9.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 28 Jul 2021 18:33:40 +0000 Received: from zorba ([10.24.27.66]) by rcdn-core-8.cisco.com (8.15.2/8.15.2) with ESMTPS id 16SIXcf7003939 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 28 Jul 2021 18:33:40 GMT Date: Wed, 28 Jul 2021 11:33:38 -0700 To: Florian Weimer Subject: Re: [RFC PATCH 0/3] implement dlmopen hooks for gdb Message-ID: <20210728183338.GH1633923@zorba> References: <20200626193228.1953-1-danielwa@cisco.com> <0f791d3a-20bc-4524-54eb-ce6df108fbff@redhat.com> <20200723184054.GD9875@zorba> <3ff42e45-b394-bf50-38c4-93baecc71497@redhat.com> <20200916161836.GW7261@zorba> <85ee3ea9-039b-a5db-a84e-224924822c79@redhat.com> <871rj0imo8.fsf@oldenburg2.str.redhat.com> <5ce2d889-9eea-4c53-8bba-d8216f2bf513@redhat.com> <20200918153543.GX7261@zorba> <87imcb3xg1.fsf@oldenburg2.str.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87imcb3xg1.fsf@oldenburg2.str.redhat.com> X-Auto-Response-Suppress: DR, OOF, AutoReply X-Outbound-SMTP-Client: 10.24.27.66, [10.24.27.66] X-Outbound-Node: rcdn-core-8.cisco.com X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Daniel Walker via Libc-alpha Reply-To: Daniel Walker Cc: "Nikola Tesic -X \(ntesic - SYRMIA DOO NOVI SAD at Cisco\)" , "libc-alpha@sourceware.org" , Pedro Alves , "Jeremy Stenglein \(jstengle\)" , "xe-linux-external\(mailer list\)" Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" On Fri, Sep 18, 2020 at 05:40:30PM +0200, Florian Weimer wrote: > * Daniel Walker: > > > On Thu, Sep 17, 2020 at 09:53:30AM -0400, Carlos O'Donell wrote: > >> On 9/17/20 8:59 AM, Florian Weimer wrote: > >> > * Carlos O'Donell: > >> > > >> >> You will always have .dynsym with a definition for _r_debug_dlmopen. > >> > > >> > Note that this doesn't work if you just have a core file. In order to > >> > find _r_debug (or _r_debug_dlmopen), a debugger needs the exact same > >> > copy of ld.so that was used by the executable, otherwise the symbol > >> > cannot be found in the image. > >> > >> You are correct. > >> > >> I followed up on my own email regarding this. > >> > >> So in the end to get process and core file debugging we'll need: > >> > >> * _r_debug_dlmopen > >> * DT_DEBUG_DLMOPEN > >> > > > > It seems like adding DT_DEBUG_DLMOPEN into the gABI might take some > > effort. Have you considered this ? The last one which was added was > > DT_SYMTAB_SHNDX in 2018, and it looks like it did not come from glibc. > > We are reviving GNU gABI maintenance. There's been quite a bit of list > activity, and a proposal of a first ABI document: > > > > I have a feeling that we might be soon over this bump, and getting > things added should become easier. > > In the meantime, can we demo this feature without DT_DEBUG_DLMOPEN? > With a patch glibc and gdb? Incidentally, I have an LD_AUDIT issue I > need to debug. 8-) Do you know what the status of taking over the gABI is ? Daniel