From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2086.outbound.protection.outlook.com [40.107.6.86]) by sourceware.org (Postfix) with ESMTPS id 893363858D3C for ; Mon, 19 Jun 2023 14:25:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 893363858D3C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NC0cNeaqT0uFxsdLQwBhTToT3soG3mSqOL38QYa/QsA=; b=Z5Y/au17RpCX+cOG8LOaMy9eBeLXqUI0hQKVssEELXkGBEfHlGrdJZ1oWMQ7hVons1QDJ4ebaEZ35yxPe1gpmwwGfSlYacJSw80Ay4FMP+N/aBh5K/K1YUaUmMcFN67EOAwui3RuUetbQQV1X9jo6VzHB327r9PjunHDrs1zfY4= Received: from DB9PR06CA0008.eurprd06.prod.outlook.com (2603:10a6:10:1db::13) by DU2PR08MB10280.eurprd08.prod.outlook.com (2603:10a6:10:491::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Mon, 19 Jun 2023 14:25:54 +0000 Received: from DBAEUR03FT056.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:1db:cafe::8e) by DB9PR06CA0008.outlook.office365.com (2603:10a6:10:1db::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.37 via Frontend Transport; Mon, 19 Jun 2023 14:25:54 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT056.mail.protection.outlook.com (100.127.142.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.21 via Frontend Transport; Mon, 19 Jun 2023 14:25:54 +0000 Received: ("Tessian outbound 99a3040377ca:v136"); Mon, 19 Jun 2023 14:25:54 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 300642b5728b1d9a X-CR-MTA-TID: 64aa7808 Received: from 7e155489b7c8.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id C208739B-9332-4D94-939E-E690D1D54AF8.1; Mon, 19 Jun 2023 14:25:48 +0000 Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 7e155489b7c8.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 19 Jun 2023 14:25:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CA1nqwFab2sBynqmbRNz5jo2/6TOAaVRol76HUI7dBNPa5dDTb62LlYyfdsU0by0phdLwMEOqF+7xcFzOC/OO7J4nDiquPLZXtSa1pxT6wUwYCUtbwhXdtX3aYmbh0UpIzYhY/0uGElfKWzvZCd0EcURKWwVkV0v317Ov5oj92KhrsPrcM9LStQq5mT+4jnwMOZwfpxZ7kvgOrtKjIUVCYa+ZNCTfs2TeXa3W7nSSSzogmyrPje1mS1KFrtzaJV2m8x11FC4rFvPbJRIkIfj5QzmwAg8AOGNC9tuQDizgwf1dB5xUThOMNoD/k9BuJHl8HQ1Gty0gWO94gpynz5P3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NC0cNeaqT0uFxsdLQwBhTToT3soG3mSqOL38QYa/QsA=; b=evB56d5PPI7oNme3zTyKuZFV0y0poVgrnzOh6jePVHMJt3nPfIjTn+3SDBfRl99SDL9aSC6Ud2mIpBmC4mNfQw6AUFBgXr6vOg519f3erBEe3GN/5B2r561jieEuOx9XY5bbg2sOwfD0Dd+ZIhIADr98HrrzpqHFrWbEUDToZ3Jj7uKxMR6XJQMDfaVYrio+t14wV7cwWQjtjtiC7rDcwO4NPOyPHZRv3dRpxZOxilhuZPiTxlhc6Goav/8PzQiBJiwtKaoAVvtuSOglYt/8BQU4Vk7pbQMXBs3tRbGvDBkdiDxf8qRD1x7FKnXc8mpUX32MpE5mnNLTgxE36frDWw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NC0cNeaqT0uFxsdLQwBhTToT3soG3mSqOL38QYa/QsA=; b=Z5Y/au17RpCX+cOG8LOaMy9eBeLXqUI0hQKVssEELXkGBEfHlGrdJZ1oWMQ7hVons1QDJ4ebaEZ35yxPe1gpmwwGfSlYacJSw80Ay4FMP+N/aBh5K/K1YUaUmMcFN67EOAwui3RuUetbQQV1X9jo6VzHB327r9PjunHDrs1zfY4= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from VI1PR08MB3919.eurprd08.prod.outlook.com (2603:10a6:803:c4::31) by AS8PR08MB6293.eurprd08.prod.outlook.com (2603:10a6:20b:23e::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.36; Mon, 19 Jun 2023 14:25:41 +0000 Received: from VI1PR08MB3919.eurprd08.prod.outlook.com ([fe80::c6b8:4dc0:6f9:7f40]) by VI1PR08MB3919.eurprd08.prod.outlook.com ([fe80::c6b8:4dc0:6f9:7f40%3]) with mapi id 15.20.6500.031; Mon, 19 Jun 2023 14:25:41 +0000 Message-ID: <9c0db209-2d05-213c-0491-1debe35fb403@arm.com> Date: Mon, 19 Jun 2023 15:25:39 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [pushed] [gdb/testsuite] Clean up before compilation in gdb.ada/call-no-debug.exp Content-Language: en-US To: Tom de Vries , Tom Tromey , Tom de Vries via Gdb-patches References: <20230616113305.27867-1-tdevries@suse.de> <877cs345ij.fsf@tromey.com> <30dc92ca-6fd5-46f1-d716-463be55cba98@suse.de> From: Luis Machado In-Reply-To: <30dc92ca-6fd5-46f1-d716-463be55cba98@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P123CA0043.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:152::12) To VI1PR08MB3919.eurprd08.prod.outlook.com (2603:10a6:803:c4::31) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: VI1PR08MB3919:EE_|AS8PR08MB6293:EE_|DBAEUR03FT056:EE_|DU2PR08MB10280:EE_ X-MS-Office365-Filtering-Correlation-Id: a53d9490-154e-4788-f208-08db70d11764 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: CA/WY9nSiiA6mn6FZqKebt6llLwpLweZDidcO87xdWJwcw36+bP+xqjjSObEoyuG374b/AxQl5HaF/YplmLBazn4MRwg1ipzxQXz6SQ+BAtBKgkdKHBBsjuQLXH9rojoXKJPAiqoVXEOTLSovoZcounfYS9N7WOEnphy1U4H2Dg9r23YfoB5q/KzvhgLK/MYHMzkZ7QNQuH/Sd+XDgKkoO1PeZWyxF5lOGPNkB8Wfv+t/aGeBDG3ho1VkgbUgYLs1RJjNNQSWH8aM/G9R9ziqg4LMKAWlFrJeVb0GFcIErn7fo41M/IXqBTZNT3+fIAzfwbTqHNiwiU03jwZ4TxIcBNEAduIM8q4fqUID8Qac/sZ3Nqe02J9dRw2QC79m2dUwIP5qJfq8U7gruIkUmoYNrcHhWCHZlqn38FQJvxqHrw9U6QYZasaZcryLvILbno+ONsBTT8I4XE6N8PZh8ParDaWnCxiFDyfjokBBNK8qeyNmjf2tfmCOxDpfvaqssOaMZzhj9UVAB54hk/KEOuGSfs4JAlJWn5Fs0xWP4379L/of/BEQSioY0H6w+0dsM/3BwxN/vZUnB6nwqNJG8c32JzVqiSLt1SMOtsrSailNZw4MDXKdv4mxRtDWYSfmtMq/G/3QLwRTQPrrE1ymGjplQ== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR08MB3919.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(376002)(396003)(136003)(39860400002)(346002)(366004)(451199021)(44832011)(86362001)(31696002)(41300700001)(8676002)(8936002)(5660300002)(66556008)(66476007)(66946007)(316002)(31686004)(2616005)(38100700002)(83380400001)(84970400001)(186003)(36756003)(6512007)(26005)(6486002)(6506007)(53546011)(478600001)(110136005)(2906002)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6293 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT056.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: e4c63b07-de1b-4ce9-3f3a-08db70d10f4b X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6esQRd1uQfZz4ep4VMNsRk/rmOjOFAHEvs1/zmxIjx6fEaFSm/QxZz7ImWJWUy1LaQKi3PSRqzQKRn1MADtBnLQ4aWkbJzKpRceD8RTZ9gcKADarcpgaWXrGUDB/911vfqgG3ASnElvG19mG/+UlxF1dRNBfIksGYtwqgkcisCKnpohAaozCZLQRbGrjkLkieWQ4p5hMV0LF6eqYcx74jlGNr4cxZAUYM7iiQF/foDQddnwoCpdJgiSKQDqZ2sep9K5dZZO937XFMYZ4KlZDdCf47OtGX9x1yMhPYQ3ufClMaB4dwwbdf+BFl6L6O8DBCV8dJdWGLqtIm08mngLPBfveZrIpm6TuaCJw58sZp8+5MF2fTWdrCv9V7UIEIG3e5hSMcBuIbxfv1mg6emRwJtjmjnH5fZtXue9uJnRds0tzyAyKyjyJb18TzBLVt7YWeb3Myvb5TKgnXsOWa1BN7c18I/Ztcfywks81cZJ0rSu9ZlnNynsAOrTtII6u9qVtiPbWCKwulvXweS4ESOlOhhrtYCmbgC8S5XDSaAjwVfxZELgLiThCi6QHHN8ZJ8wu7J+qUc8xh/7hPpoR6ChEDds3HBz7r+m523cm5t4vwA1AZ9lttQCd3rp1Z9yTMovOUBNuhvCxK4HkSiWv8/HgP6DuFGfegKi8cwOIiF00zQ2+uHBKIl7omJkeknuqKiIqnOWbztUNbYkwVNlVTDhPeCqzbrN5nfle+9nrQSnl4mnwsbzyTGt3AMCM6DDSxx5ko62+Aljq0+1tuTaHrTqmXw== X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(13230028)(4636009)(136003)(346002)(396003)(39850400004)(376002)(451199021)(40470700004)(46966006)(36840700001)(31696002)(82310400005)(44832011)(31686004)(336012)(83380400001)(47076005)(86362001)(41300700001)(8936002)(8676002)(5660300002)(70206006)(70586007)(316002)(2616005)(36860700001)(82740400003)(81166007)(356005)(84970400001)(6506007)(53546011)(6512007)(26005)(40460700003)(40480700001)(186003)(6486002)(478600001)(110136005)(2906002)(36756003)(43740500002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jun 2023 14:25:54.6024 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a53d9490-154e-4788-f208-08db70d11764 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT056.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR08MB10280 X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,FORGED_SPF_HELO,KAM_DMARC_NONE,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 6/17/23 11:50, Tom de Vries via Gdb-patches wrote: > On 6/16/23 20:38, Tom Tromey wrote: >>>>>>> "Tom" == Tom de Vries via Gdb-patches writes: >> >> Tom> Running test-case gdb.ada/call-no-debug.exp with target board unix/-m64 works >> Tom> fine, but if we run it again with target board unix-m32, we run into: >> >> Thanks for doing this. >> >> If gdb's test suite could detect when a new .exp is started, we could >> make this always work by removing the corresponding standard output directory. > > Hi, > > thanks for the suggestion, I've implemented it in gdb_init.  WDYT? > > Thanks, > - Tom Would this delete files unrelated to the specific test being executed? I started to see a number of errors in the testsuite where tests executed in parallel can't find gdb.log. For instance: --- ERROR: tcl error sourcing binutils-gdb/gdb/testsuite/gdb.arch/aarch64-sve.exp. ERROR: couldn't open "outputs/gdb.arch/aarch64-sve/gdb.log": no such file or directory while executing "log_file -a outputs/gdb.arch/aarch64-sve/gdb.log" ("eval" body line 1) invoked from within "eval log_file $saved_log" (procedure "get_compiler_info" line 51) invoked from within "get_compiler_info $language" (procedure "test_compiler_info" line 4) invoked from within "test_compiler_info "clang-*"" (procedure "gdb_compile" line 41) invoked from within "gdb_compile $src $obj $type $compile_flags" (procedure "gdb_simple_compile" line 44) invoked from within "gdb_simple_compile $name $code $type $compile_flags temp_obj $default_compile_flags" (procedure "gdb_can_simple_compile" line 2) invoked from within "gdb_can_simple_compile aarch32 [join $list \n]" (procedure "gdb_real__is_aarch32_target" line 15) invoked from within "gdb_real__is_aarch32_target" ("uplevel" body line 1) invoked from within "uplevel 2 $real_name" (procedure "gdb_do_cache_wrap" line 3) invoked from within "gdb_do_cache_wrap $real_name {*}$args" (procedure "gdb_do_cache" line 48) invoked from within "gdb_do_cache is_aarch32_target" (procedure "is_aarch32_target" line 1) invoked from within "is_aarch32_target" (procedure "is_aarch64_target" line 6) invoked from within "is_aarch64_target" (procedure "gdb_real__allow_aarch64_sve_tests" line 6) invoked from within "gdb_real__allow_aarch64_sve_tests" ("uplevel" body line 1) invoked from within "uplevel 2 [list $real_name {*}$args]" invoked from within "gdb_do_cache_wrap $real_name {*}$args" (procedure "gdb_do_cache" line 48) invoked from within "gdb_do_cache allow_aarch64_sve_tests" (procedure "allow_aarch64_sve_tests" line 1) invoked from within "allow_aarch64_sve_tests" ("uplevel" body line 1) invoked from within "uplevel 1 $fn" (procedure "require" line 11) invoked from within "require allow_aarch64_sve_tests" (file "binutils-gdb/gdb/testsuite/gdb.arch/aarch64-sve.exp" line 18) invoked from within "source binutils-gdb/gdb/testsuite/gdb.arch/aarch64-sve.exp" ("uplevel" body line 1) invoked from within "uplevel #0 source binutils-gdb/gdb/testsuite/gdb.arch/aarch64-sve.exp" invoked from within "catch "uplevel #0 source $test_file_name"" --- When reverting this patch, I no longer see the problem. Maybe it is deleting more than it should?