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.129.124]) by sourceware.org (Postfix) with ESMTPS id 9116C398243E for ; Thu, 17 Nov 2022 11:38:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9116C398243E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1668685092; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gZDuFD76xuEblxhYL1DQcZRv5vbeGj2tTUJzDecG76Y=; b=J7rFin3tpCA8aBc9fKZIdPE9Q8E3yqmudH2E5Z9EWP0btU1awy5xze7rDio5DeyKgku7r8 EViQRMVq5zC2k+maoxNrm7rCq3lE4sm4X8JhnD2/zcHXnB52Nd0XEfPadoZ/CkF5vAmXaD dxgkZy8z5LC/XEpwEsWCx+BEokmsgrA= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-169-QCyM3i8NMc-63saFYwSJxw-1; Thu, 17 Nov 2022 06:38:10 -0500 X-MC-Unique: QCyM3i8NMc-63saFYwSJxw-1 Received: by mail-wm1-f71.google.com with SMTP id p14-20020a05600c204e00b003cf4cce4da5so213604wmg.0 for ; Thu, 17 Nov 2022 03:38:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gZDuFD76xuEblxhYL1DQcZRv5vbeGj2tTUJzDecG76Y=; b=D3Kk7EUyczhiTg48kJKiRw7dJKsY3pBabaURqZHeD5POWoRZzs/p7UKfnNV9u5ug/v ll5c4/fxW++dQjl9hw6FRuaLqUc5F6bX6lLDnQP0eNnuTJt6CMhnzBkFCeK73xeYYtbI 2TvI8nuHltrEM4pWCL0vD2rMqc+LeQwl1Ym5XGe0Z1FpS96Vn1ICfr5gfrzdd+K7QCnI uQxOSrBBxbOWRh3AWu10pB5J18/YYHUs2uYh+jushkI5WCTe5iCgsuE6hFXR5PC0I/06 xLX2Jtlq74aFnJDwIuSxhOdFxO23THy+goC5LvAMcuFqe6993dvZyow6c3iLc4rWuxyW CbyA== X-Gm-Message-State: ANoB5pmTzcPgC2i9itlfefOWRk9JM43ngRQfRZ0NP0Cc2pa7PmW2+bhK u8MMDVPuiFRG6MopKI1geB4791J8KTCVibnuRp4cVkaOPmkPt0G59iBjQI756UnFC3kOgQEMRQY 7CIZDAcnpIzoMxOCJnQSRYlutQy2FMUeP2MvO6W9rYuZyZ7go/wIp/K5K0yK5D2221xDg5R81Vw == X-Received: by 2002:a5d:58cc:0:b0:236:5c6c:1e06 with SMTP id o12-20020a5d58cc000000b002365c6c1e06mr1175257wrf.156.1668685089653; Thu, 17 Nov 2022 03:38:09 -0800 (PST) X-Google-Smtp-Source: AA0mqf7LCRy5dCKHz7V43Y50gkPqrIMXbIECzFETV+lQ7U9OjKy0JABG3EemHxo3+M7ArKNWGFYRQA== X-Received: by 2002:a5d:58cc:0:b0:236:5c6c:1e06 with SMTP id o12-20020a5d58cc000000b002365c6c1e06mr1175245wrf.156.1668685089336; Thu, 17 Nov 2022 03:38:09 -0800 (PST) Received: from localhost ([31.111.84.238]) by smtp.gmail.com with ESMTPSA id b6-20020a5d45c6000000b0022e3538d305sm898414wrs.117.2022.11.17.03.38.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Nov 2022 03:38:09 -0800 (PST) From: Andrew Burgess To: gdb-patches@sourceware.org Cc: Tom Tromey , Andrew Burgess Subject: [PATCHv2 0/2] Fix gdb.debuginfod/fetch_src_and_symbols.exp with Clang Date: Thu, 17 Nov 2022 11:38:04 +0000 Message-Id: X-Mailer: git-send-email 2.25.4 In-Reply-To: <87wn7uuakv.fsf@tromey.com> References: <87wn7uuakv.fsf@tromey.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-Spam-Status: No, score=-5.7 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_H2,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Tom, Thanks for the feedback. I've updated the test inline with your suggestion. While making this change I wondered if there was any reason why the source file for this test is called 'main.c' rather than the expected fetch_src_and_symbols.c. I couldn't see any reason, so in the first patch below I rename the source file, then the second patch below is an improved version of my v1 patch. Thanks, Andrewx --- Andrew Burgess (2): gdb/testsuite: rename source file gdb.debuginfod/main.c gdb/testsuite: fix gdb.debuginfod/fetch_src_and_symbols.exp with Clang .../gdb.debuginfod/{main.c => fetch_src_and_symbols.c} | 5 ++++- gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp | 9 +++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) rename gdb/testsuite/gdb.debuginfod/{main.c => fetch_src_and_symbols.c} (91%) -- 2.25.4