From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 6E4323858C60 for ; Wed, 9 Mar 2022 01:42:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6E4323858C60 Received: from mail-yb1-f197.google.com (mail-yb1-f197.google.com [209.85.219.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-480-xaavon3APxePpbwJoO4Qyw-1; Tue, 08 Mar 2022 20:42:37 -0500 X-MC-Unique: xaavon3APxePpbwJoO4Qyw-1 Received: by mail-yb1-f197.google.com with SMTP id c6-20020a25f306000000b006291deb924fso640594ybs.4 for ; Tue, 08 Mar 2022 17:42:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xmb2TjqM0t1nClPjUathnVkFETveAemlhk1ocnBRJA8=; b=V5R4b3EUPJ4dQhlzA/3KVvqoktVxZfgSBv7gaF+h2zHyMf+TXdd1j3ZzjKShi00NzX jT9+kCA/hUJbbgM2Wqf2QtS/cYEXghFlkKHXV6U7mdjk6R29IML+1fleOH3DmLd2F76R aq0QhYGpxliQgOPgkF5E36wXwfpVKgM4hrEt1ijKy6oF3SN84UZ4aIJHzb3xo01nrQCd wDx2wR7lixYO891p+RhHYWgfGWpcw4pREfvonvyNCU5zXPMF8ICgHchpgd/FrW0N57NQ CTF35OjbzvfZr63GtisKrdgVicBLWkXr2Pk+kVY9lBywqOdCxKCQNVqKAC/S3er55idB kkQw== X-Gm-Message-State: AOAM5314Gpa4oPyZ5gIBv/lLWJxpAHR/bbRpRnr8J7a4i7XHPNM3Qhi+ Wwv0amsL/1zyehzyl0DAQWcjf/jZPBXX+mRZWrAPtOCHqnA/QbW+Alx1orqiQll9bI9o7kd0CJl 3wGG2d6KJi6E239o0w5h2HcoHEEz1ylzcJSeO X-Received: by 2002:a81:fc5:0:b0:2db:cdc3:6091 with SMTP id 188-20020a810fc5000000b002dbcdc36091mr15423334ywp.198.1646790156362; Tue, 08 Mar 2022 17:42:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJxk/hlqhXygtDbOyBoUCl4PkcDS+jFMF7R96Cp+ujmmIpZnGwxey91LJKH7KbgAcANul9KYzaRM8ZbsZYMo9a8= X-Received: by 2002:a81:fc5:0:b0:2db:cdc3:6091 with SMTP id 188-20020a810fc5000000b002dbcdc36091mr15423326ywp.198.1646790156138; Tue, 08 Mar 2022 17:42:36 -0800 (PST) MIME-Version: 1.0 References: <87o82lu2xy.fsf@tromey.com> <20220308224136.173615-1-amerey@redhat.com> <87a6e0hsxl.fsf@tromey.com> In-Reply-To: <87a6e0hsxl.fsf@tromey.com> From: Aaron Merey Date: Tue, 8 Mar 2022 20:42:25 -0500 Message-ID: Subject: Re: [PATCH] gdb: Try searching for auto-load script using .gnu_debuglink To: Tom Tromey Cc: gdb-patches@sourceware.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2022 01:42:39 -0000 On Tue, Mar 8, 2022 at 7:26 PM Tom Tromey wrote: > > >>>>> "Aaron" == Aaron Merey writes: > > Aaron> + && strcmp (debuglink.get (), basename (realname.get ())) != 0) > > gdb normally uses lbasename and not plain basename. > > This is ok with this fixed. Fixed. Pushed as commit 2e79bbf1e2. Aaron