From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2075.outbound.protection.outlook.com [40.107.13.75]) by sourceware.org (Postfix) with ESMTPS id 439D23858D32 for ; Tue, 14 Nov 2023 16:44:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 439D23858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 439D23858D32 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.13.75 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1699980290; cv=pass; b=RLB1qEzF2EFG+KDM+4AhK69K9xq2SlIFcNpaMjMvsqWEi9uKsP0uziLeoqbp1VNTGnRFjr2v95xrN1kTk2M/WBqoRCQZ2VnbSil5uLNV+zePKhIqcWmYYRyRzvRWLRcNIG3f69ooRtNaccMdp2zGT8Q+U83MwiQx3Ad1czfFCd4= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1699980290; c=relaxed/simple; bh=Hfnmdyp81Yiuoq1aX9Pfrvut4KI05NYA6zZoE14JnTk=; h=DKIM-Signature:DKIM-Signature:Message-ID:Date:Subject:To:From: MIME-Version; b=BlqObJGLIfclC4OFWKWkkNOVlkvvBJE2yP+SitN/jWMdW2XXRA4Ovgxo6UCaJ0eKC3XezwM48GDrmWcmbSHLAHZKiBzPtxPbkfKoZ9pHAaAVpt4IXNkaxCgCiNG0V6bZIW3tohTbB7MO3zZzlj+QXpeJjET305WQWVkHT0ENhrw= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=EMGtgM0klj872XrwvUE8tcI713m3XQrzJVMkdoFvRPTut7XGNc8FDOUc3NplBDj6GD92pBr2hjCsdAm5PHU/GX62IzxM8Ws9zeb5XWyyU7m6ZM4EsSf0ktv7mTYjXtYMg+I4RUFUTIAc1lLqEytaa6nReRQfcRrtMXmR3W6aNdGOWCRQGh6ISh3G0kf/NgjYEUrii8jCRht/xhgw0goZGsTDhaM9hiz18gNSDnlVpNMTSj1rE8QRtwk05v99B2PBeHPe7YFglyhigWvLmcigBj9r2eqd+10/661gFHWIJUlwU9eiFTasbpPBaz6qzKIr/U78OhNBGZmTGssotbJAXA== ARC-Message-Signature: i=2; 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=s33dijd/cREnjWfJcTL3ZURCASbj3rR+LEU9h8PxSKw=; b=QLTf4oLHn13ApwTSbOrj0vN5UfH7AMiMfoG3rMW87VYK4rXl75MlIygyxJwG3yHuomOoZoxCHJiwB5vf+pqxGetdUC80RYIWxHPL94kIZk3jZCr38kOqMZ0Ddk8O7vnyy7JuWGHVMG2LBdFhZL+KeHQDVjLdPyitAsXwEGhgG9nybODkVj+8gmnBpOkkVaGAune2FQEklqL75F8HFLPWF8Kx3Ki3tt/UAmHWIT4ZkcFefYVmJD3MoPeoqBeYMKFhDuL0dcasbHkfswTBqIQAOr1hEXIKwhpy7JfDkaus0R57pQNb4abbgoy424IT0F3SL7uhvNdk4DituarOk+5KxA== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=sourceware.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=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=s33dijd/cREnjWfJcTL3ZURCASbj3rR+LEU9h8PxSKw=; b=FHD/0fKL+G0vm8ze1wpTPZ40c7A7WegwEpohKWDouxQ0kwjiPDIxytR+aPaBdsTgMK5UNlT0Yrc2/7qt0+L0bY3JDWhAkWR76eO5M7WADPE9W6+Al8WIFTS5HxPYzSHAgMbP2hKeKiQuF9X3qYG+ZqoYmcvVXUqL6Swq7HkHQYM= Received: from AM0PR02CA0167.eurprd02.prod.outlook.com (2603:10a6:20b:28d::34) by AS8PR08MB8467.eurprd08.prod.outlook.com (2603:10a6:20b:567::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6977.29; Tue, 14 Nov 2023 16:44:44 +0000 Received: from AM4PEPF00027A68.eurprd04.prod.outlook.com (2603:10a6:20b:28d:cafe::c6) by AM0PR02CA0167.outlook.office365.com (2603:10a6:20b:28d::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6977.29 via Frontend Transport; Tue, 14 Nov 2023 16:44:44 +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 AM4PEPF00027A68.mail.protection.outlook.com (10.167.16.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7002.13 via Frontend Transport; Tue, 14 Nov 2023 16:44:44 +0000 Received: ("Tessian outbound 385ad2f98d71:v228"); Tue, 14 Nov 2023 16:44:44 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 4054d47c41f26740 X-CR-MTA-TID: 64aa7808 Received: from 3abfc5f81edc.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 012DE7AB-73AB-4C54-9CA8-70243686ABFD.1; Tue, 14 Nov 2023 16:44:37 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 3abfc5f81edc.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 14 Nov 2023 16:44:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Tq4/sF4FszuIsWs8mrEGpUlTIJqBu+ZJx15WT3bp5jYnbgm+aVeBfWox0vsif1H7cWAs1guFgNDNkiqsajGylZn1tHJGkB8ztC4RLBj7SpdMdG51ALD1o4OcAkTDz0TmnsMgjmUkdr2mugmUP8KnIfF/ZtQfGg6H422ivtgJz2cKv0wcTa6rYa4qmCN4MgI5JMuTNEj3N7WQ6wL0dCXADskwE5DR2z7vR9rjNA8E4nhslTn7uGgvEmxdFCBl8QW/HDdVrA4PlRlxqoyeL/s/mEBs55/jxpe4RYD879UY9OuMZp6mCg9dQogueO/tbIPcWiuD9oqET6PIavWhhUxQPw== 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=s33dijd/cREnjWfJcTL3ZURCASbj3rR+LEU9h8PxSKw=; b=beSObofLLje0lYHn+7AOlrY+udn99NHM4CpBM0DqD/EShti6LelcWovsSaTngHMeGXs8jitEYfLuxHL5zD1Fga5/JW1DF0rWYGE7FGhY3dY0i6n8+BgiwnjS7p7uzjHsvk+eseChlNd57eB/2DmyHUe8hjdLIKU+ruA4Sxe5FEfNPAXU3euX3oqo37iVbHzw/WJ3ONg3d8ZCyyZsHN6mLtCF84+UiLEZWhAtxF1/A3a37RiXAI0sIsjE9j+ynNJJtVCom8kIGbRTHQ8nWNhnoP6wbyNEmJ3ypY38mhdq83DDWhnn4eekm6XCSber8Elipv8NAzzlFyylUquIOyCS2g== 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=s33dijd/cREnjWfJcTL3ZURCASbj3rR+LEU9h8PxSKw=; b=FHD/0fKL+G0vm8ze1wpTPZ40c7A7WegwEpohKWDouxQ0kwjiPDIxytR+aPaBdsTgMK5UNlT0Yrc2/7qt0+L0bY3JDWhAkWR76eO5M7WADPE9W6+Al8WIFTS5HxPYzSHAgMbP2hKeKiQuF9X3qYG+ZqoYmcvVXUqL6Swq7HkHQYM= 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 AS8PR08MB9268.eurprd08.prod.outlook.com (2603:10a6:20b:5a4::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6977.29; Tue, 14 Nov 2023 16:44:35 +0000 Received: from VI1PR08MB3919.eurprd08.prod.outlook.com ([fe80::e05e:c012:f1f9:eb51]) by VI1PR08MB3919.eurprd08.prod.outlook.com ([fe80::e05e:c012:f1f9:eb51%4]) with mapi id 15.20.6977.029; Tue, 14 Nov 2023 16:44:34 +0000 Message-ID: <9e249f86-1bcd-469e-a2d0-f213f69856d0@arm.com> Date: Tue, 14 Nov 2023 16:44:32 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [FYI/pushed v4 03/25] Step over clone syscall w/ breakpoint, TARGET_WAITKIND_THREAD_CLONED Content-Language: en-US To: Guinevere Larsen , Pedro Alves , gdb-patches@sourceware.org Cc: Andrew Burgess References: <20231113150427.477431-1-pedro@palves.net> <20231113150427.477431-4-pedro@palves.net> <7c59b388-5ed0-ef55-a9f6-ea35066e15ba@redhat.com> <4ca9d82a-1989-43a1-bfc1-c1c4e6b40105@palves.net> <83a46ebb-1635-9a0d-6cfd-00e2dac24584@redhat.com> From: Luis Machado In-Reply-To: <83a46ebb-1635-9a0d-6cfd-00e2dac24584@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO2P265CA0434.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::14) To VI1PR08MB3919.eurprd08.prod.outlook.com (2603:10a6:803:c4::31) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: VI1PR08MB3919:EE_|AS8PR08MB9268:EE_|AM4PEPF00027A68:EE_|AS8PR08MB8467:EE_ X-MS-Office365-Filtering-Correlation-Id: 57b19340-9a0d-48ff-cc3d-08dbe531016c 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: uVemlReVKkn/ES/i3Hbon/Odn+9uOzi0v9BBEY6EUnpuLqUgX4R3MzMjf0a+NCTeEPzN7db/SM0LEPmmVyToJnDfBoBb93TE7ujzAzanTGK4durVkjL6v077c6cDnsIEllb//Z5BSozlUs1NYJIrr33P7w4CWuQ1fK8qxSgoPCNyBC/l/yuljMSFT106ywg/BzKc2oTbSLtpil1ofoIKb3FUpgBQ5MD8MADU+IngK4h/GxeX4bnAaz4JQtnnB0NfxjxsmfnUrn1hrp3JT3RD+f5InJcsm5Dghj6lFATCayJi3N3+RTk4TSik+ZcVUUXd8VcN13jJGYHVuoDZjUWEjKY/5hnzGiilzrIdBZn0rPO1YkzOwQEaIC4tW4GyER7vb64ZQX4o4Fw9SWrXGVcnnezw5nti+BE+xvS+Uc18jHEq49ZDdjbxLGhpa2P7BkUlPkwXUBB/x1XMNp6eIfCTP+4XngDqqZXR26AtNI9DTdbGE4H5bqVAr688UUFTIVdBoW/kMel4UvWN7Sx/ZWoygvqu+JGZcdXdwmncCllUxttIxll1tH2+klPuNNxnoWVa9TejCsvYWz61h8F+WJFEkz2+6WNZhwTwSYZZqAc6kP8fzGQl+letzPmnNP2avrEeBc1EFFsete8deqm0S311xFTYNUYK8qFWMUEWhS78b5Pa6MdDAHgTOatT+sihgzi3 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:(13230031)(376002)(346002)(136003)(366004)(39860400002)(396003)(230173577357003)(230922051799003)(230273577357003)(186009)(1800799009)(64100799003)(451199024)(31686004)(84970400001)(38100700002)(66476007)(66946007)(110136005)(66556008)(31696002)(86362001)(36756003)(6512007)(83380400001)(6506007)(2616005)(53546011)(2906002)(41300700001)(316002)(478600001)(6486002)(4001150100001)(5660300002)(8936002)(4326008)(44832011)(8676002)(26005)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB9268 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: AM4PEPF00027A68.eurprd04.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: b1110abf-89a8-4af3-637c-08dbe530fb49 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VksO+EbQmnlvtgu1OYAHH1dcQEOvhJU/hgruYltGuanYq7fePDrEPVJfwHQjfnec9vbNbooTz+UOoFDhl789ZoDuGFp0cS3O6JC2Mezb9tJtk6NsUiU6w6qKN9xdBmdVE0bzxOGknXEU+67Wl98FyQEGAVpCxbweUTuuPzBGyvxQs6ta+EM0EGkIlYn4gTnA+0YpMuTPx0mUpoGH4WDoNp2gBb/ni1QXkfXdc2j1zl2VLsxMCF117VeHIha6DuaX4HowDkAlr+jsXe6kgWOW+qOcC7RTCBPvhi8nibMdKCo3deGElEuBuqLg27lcqQP/5lkFLkKoFrO9+MU4skIXshntarvahjWAmZrCxtRi/0oQnluQJ3zv1fXx0ogNOPiQjhYSyV1Hj8zrYkG+EjsCSj5INFdvxE+N/Kh5jE5wFBLHIZP+9iz/rElVkmw0+KOu7ioTOE0DCmu3v6GxAxKymvreegOdCcVexORdnzg4jL135P/FymKq5+4Lz/U38Yux5ew7OpsadzHCCY3GkEenGTk5Iuq3SNP7CsGThPTuRiq1ChhzJf/pqoG54MnI7GS0tLwEbkpkFg10bth7IIs+ATuUhr2knzxXGpLaPf67Qs7L0qVTiOO8+jLQzJQKFpzrK7ns2tHKyJQXmM2kboeuYwbgV0TlZcLoTuXtHR1uAWJhKNWmDllu2NbzEh4yyuqT3nZk6OpTV+TIa8jXjRqRrhvPx8MYBo+dB4pQMNTskif2FVR2JL7X48bRAag70nXAn4klzDtOaPzRdDMmcrKzs+pWdVIggwoj8zpeF9G9XjlYSawSDa5qiHW3fqaRurJS 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:(13230031)(4636009)(346002)(39860400002)(136003)(396003)(376002)(230273577357003)(230173577357003)(230922051799003)(186009)(451199024)(82310400011)(1800799009)(64100799003)(46966006)(36840700001)(40470700004)(26005)(82740400003)(107886003)(84970400001)(336012)(83380400001)(86362001)(5660300002)(47076005)(2616005)(356005)(81166007)(31686004)(6512007)(6506007)(40480700001)(53546011)(31696002)(36860700001)(478600001)(6486002)(70206006)(36756003)(316002)(70586007)(110136005)(40460700003)(2906002)(8676002)(8936002)(4326008)(44832011)(4001150100001)(41300700001)(43740500002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Nov 2023 16:44:44.2654 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 57b19340-9a0d-48ff-cc3d-08dbe531016c 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: AM4PEPF00027A68.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB8467 X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,FORGED_SPF_HELO,KAM_DMARC_NONE,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 11/14/23 16:29, Guinevere Larsen wrote: > On 14/11/2023 14:26, Pedro Alves wrote: >> Hi! >> >> On 2023-11-14 12:55, Guinevere Larsen wrote: >>>> +gdb_test_multiple "catch syscall group:process" "catch process syscalls" { >>>> +    -re "The feature \'catch syscall\' is not supported.*\r\n$gdb_prompt $" { >>>> +    unsupported $gdb_test_name >>>> +    return >>>> +    } >>>> +    -re ".*$gdb_prompt $" { >>>> +    pass $gdb_test_name >>>> +    } >>>> +} >>> In the clang buildbot we're getting this output: >>> >>> (gdb) catch syscall group:process >>> warning: Can not parse XML syscalls information; XML support was disabled at compile time. >>> Unknown syscall group 'process'. >>> (gdb) PASS: gdb.threads/stepi-over-clone.exp: catch process syscalls >>> >>> This should be a failure, and should likely skip the next few tests. >>> >>> I don't know >> Meh.  I guess we should make it UNSUPPORTED and bail.  But, really that is just >> likely to make us not notice GDB wasn't built with XML support.  There's really no >> good reason for that nowadays.  It's not like expat is a complicated dependency. > > That's fair. I still think that test should read FAIL if we get an XML parse fail, but maybe this isn't the place to leave early. > > I gave it some more thought, and I think the best place would be after the test builds the list of syscalls, if that list is empty there is no point in further testing, since no breakpoints will ever be set. I think a better the point to bail would be right before the main loop, since its unlikely we get an empty list at that point without a previous failure. Bonus points, we don't get tons of timeout-based errors, speeding up testing. > >> >> That buildbot should be fixed to configure gdb with libexpat available, IMO. Before that, should we agree on making libexpat a required dependency for gdb? Some targets (aarch64-linux for one) won't work properly without XML support. Unfortunately I don't think that is clear at the moment. Those of us developing gdb know what the message means, but more unfamiliar users may not know. > > You're right, and I'll try to do that. Do we need some specific configure option? or is it just that the container (probably) doesn't have expat and thus configure is automatically skipping it? > > I think the test could be improved either way. > >> >> Or could it be that expat is supposedly available but it fails to build with Clang? >> That would be very surprising, though. >> > More of an FIY than anything. The "clang" buildbot still builds GDB with gcc, it just uses clang for the testsuite, so it's not about expat problems with clang. >