From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2080.outbound.protection.outlook.com [40.107.20.80]) by sourceware.org (Postfix) with ESMTPS id 4287E385DC18 for ; Mon, 31 Oct 2022 13:15:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4287E385DC18 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-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=Kry0bo3QliDoBSJZlIW/0cCalrOULTdJkKwH4CTJy5RixGFl51st7O91408XladtNAfltqAKmXFS5oiCS4j9b1nQhhA/0IC/XDwAXY1T5viXHosnE5eFmbgnqXJqVEKtWQVR95i3YVW8WjPoL3z/4eQGCYEgKWHPUgH3oJNzBPbOg33qDB24TbIBo0ryZTVyUmlynUT1ZEytDwojpbMd+ax1+l99kAGB6XqDpILhbJOfhVCUZiEWELJkhvZ4EqH2kMUWaqBIaxPfhROJmwnnExRoFD4t0elAAk0WWLJCCqXEMl4HYkkKgR3iWkrZdt5F0BDmJTj5Na8AZ5UzrEpUWA== 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=Z+m3/ZD3dZb/OvN1M+ZcqTg/eNfdWYw7+zM94rR6mF4=; b=jwbMp6z2mHv2+JgGn8ceDT0Q0Nfr54LhOb6QolpKo7O6oriwLOF0tXX05RtK0PJQRQSRgcMvVcp5HS0AoGD5jgfFuFFW88jclkwN2qz8Vvv70rBfzqXkD2rSl7SDVVvcxokarQtM6SyZ1V2AGpEeHAJ1sP8N+AqbcorPuK/qzD4+lgewsF4uIapChJHLYbWIP6omNZqswQtR08T7Vwni3yuKAwnAUqOr4cdfjOs8RfFY5RryCTePcAdsF7qlSjQ94arsL1DT4A9ARsO6LpLN0IBsNvkRRDVBffqFy/Cvgi/kCV63jzAC+Vw5o4qk5dJt9O1KbyEyW9EUtKUGSRUytw== 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=Z+m3/ZD3dZb/OvN1M+ZcqTg/eNfdWYw7+zM94rR6mF4=; b=X+YX43CdoGQ2TOtFuQGzCKj/n5SM/s4GgAPtEqyzXfci+/DcR5TbtExpQsxaFWYgIzJgcMP38ezQ7U3v3PIhKVvOeuFAO9MXsqHLE/muQ0T9Av3x2l4F+s+OomfyKhtwxV3ie/iv58IIfR1cXTIywLoJmVzv7ZsEzGjSbuiJx5Q= Received: from DUZPR01CA0047.eurprd01.prod.exchangelabs.com (2603:10a6:10:469::16) by PAWPR08MB9637.eurprd08.prod.outlook.com (2603:10a6:102:2ec::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.19; Mon, 31 Oct 2022 13:15:00 +0000 Received: from DBAEUR03FT037.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:469:cafe::17) by DUZPR01CA0047.outlook.office365.com (2603:10a6:10:469::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.19 via Frontend Transport; Mon, 31 Oct 2022 13:15:00 +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 DBAEUR03FT037.mail.protection.outlook.com (100.127.142.208) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.14 via Frontend Transport; Mon, 31 Oct 2022 13:15:00 +0000 Received: ("Tessian outbound f394866f3f2b:v130"); Mon, 31 Oct 2022 13:15:00 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: d08a46850ed5ec93 X-CR-MTA-TID: 64aa7808 Received: from b136433a1d07.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 39863BA9-209B-446F-800F-F102670065F6.1; Mon, 31 Oct 2022 13:14:53 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b136433a1d07.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 31 Oct 2022 13:14:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GF6+ORqljX8WWEkS2REElG8rYhZc1MqwiVann7f/L7k0mDjJfunkmiblVHgsnNoMDH0w9tHb09z+r3Lkii0aHvfYhVmbhahEoaC2NGpAnGIOGumK/lvkXoaruVsAKkemHNyt/Id5b0aW6233KlrHPMwZRW4Rwiy+a/H33nrGJmTdbiUhMVNLy8WhkrjTXlhtjbil4RFQvot/Kic2NRbB2Oz2ioit6xHxX/w4FPhjbLpV/JPaoZOTrQNGKJwutzEo8d4gc5cUpFII39GLs1liHA1CmyPYZTe+FgqKQ+DO4fdTttpXTVffY+IaIMvwFAfssyA7nZUSVpWM+ulyRocXHw== 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=Z+m3/ZD3dZb/OvN1M+ZcqTg/eNfdWYw7+zM94rR6mF4=; b=C7TaSCLd+9ABTx8eyxeK5vml47sJQU+a7/txRv1ZSHw1B2rolApF6weiqlk+zg6O+f9wLtPH0qYL+EyuEk+ZM7sG4WiHEKPxGN7vArRTYtPY6WB3No2nioz/TV4lDeYPybJFSTW6n6MS2u5oRa1XLN06qHjLXPm9s5qqYo/7vq/JN8bhaQvZ0HoOxHIDGkfLcI8sdTE0/eNNFx+SaoXOB7SPk8Os0U1kF2hlbM/sLpGPZasne3LMsUwnRSKCnxB1Z2D/5ZxYpcLBGu28g9khzuUKBlicdvIjPrI4UvUyMbcgHymrGIh9e21anPqUWRvXL/ZtzUKZ27IasCQB5ZnfbA== 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=Z+m3/ZD3dZb/OvN1M+ZcqTg/eNfdWYw7+zM94rR6mF4=; b=X+YX43CdoGQ2TOtFuQGzCKj/n5SM/s4GgAPtEqyzXfci+/DcR5TbtExpQsxaFWYgIzJgcMP38ezQ7U3v3PIhKVvOeuFAO9MXsqHLE/muQ0T9Av3x2l4F+s+OomfyKhtwxV3ie/iv58IIfR1cXTIywLoJmVzv7ZsEzGjSbuiJx5Q= 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 DBBPR08MB5881.eurprd08.prod.outlook.com (2603:10a6:10:208::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.19; Mon, 31 Oct 2022 13:14:49 +0000 Received: from VI1PR08MB3919.eurprd08.prod.outlook.com ([fe80::6ba4:2f18:7531:943b]) by VI1PR08MB3919.eurprd08.prod.outlook.com ([fe80::6ba4:2f18:7531:943b%7]) with mapi id 15.20.5769.016; Mon, 31 Oct 2022 13:14:49 +0000 Message-ID: <7b8e64ec-01bf-5388-01a4-76b20ec8ca05@arm.com> Date: Mon, 31 Oct 2022 13:14:42 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH v6 5/8] GDB/Python: Use None for `var_zuinteger_unlimited' value set to `unlimited' Content-Language: en-US To: "Maciej W. Rozycki" Cc: gdb-patches@sourceware.org, Simon Sobisch , Tom Tromey , Andrew Burgess References: From: Luis Machado In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SA0PR11CA0027.namprd11.prod.outlook.com (2603:10b6:806:d3::32) To VI1PR08MB3919.eurprd08.prod.outlook.com (2603:10a6:803:c4::31) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: VI1PR08MB3919:EE_|DBBPR08MB5881:EE_|DBAEUR03FT037:EE_|PAWPR08MB9637:EE_ X-MS-Office365-Filtering-Correlation-Id: 8037f9a9-0cc6-4994-8171-08dabb41ea55 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: oso78vQFbjjdz2E1hymu7TXfNvJpGuJAAzDkYBNsi07CyozxK/FTy4ZXYsnRunOLSJ6hDHX6MrL3caV5O4WTpaRhLOjOG+29yIn24z47cWl332AAy/H/Lz7TlnXUIvvUL8tt/2Tbyc50HPu2Xa9MA+uVyRO9sKU69RGlYWS89nA9UPVPGKo/X1tj7khJ6F4gYl5T5E4hkhZg6jvhoEU6+NgU6tDW3Io6zr9CNLlqrQEtUblpJpDC0x079xcDoL1/WLiRq/jVjsOE6aiju9ckcobq8HtoRgBmc2HZ4rAA7AuFq7XlFraVzc98+4eXt/vFCPbwHSShOKIo8o6IDRu81G+ptBTLXGBuwEHyhkEMTXcx6QJQwECGkzbUsU91tjCRErkZU6zUJ8Cy65ZIDXKQzoJMgoss/1HBg/YKlAdenCiewiQfrlY89RW93HEDlld/V+V8qzOmUnT+awCmBpT7XBBdyX/WIU3clnz6apV2yJ1JGOO7jZE0y02ik5no+Ygps3fQgZyLQtLOD0l95VlUqgej2mMXuav5riSbIm1jXbocyM9AvZg5HyknGYNQFw+Bmwh+6VAvuZjcxzW+bszBf9avmL7bQq57AT6QY5uOkHqxtL6QqHgDm6KDPJ4CUtDIiNFmnwxNZlwaBB8LAVNZ6UURiWqboQ6Qh9G2soZqZD5PY45bOOv3S6/wl2blGr714UFZGbfPSUhaWymEg26xWgm+42HFSQBNg2TaQAvF+hiFVooEIWzwgFwty3QOxamqyPx7lhVnLAXkYpOd+h7GMgIk4jMh/7BVvjn6XRfHKte5ANbL31O7GZn00Iqm7RvTrYxCUQNphw4SKtMU1T0AHZW/sGG0b85FGR1J9zNzWNQ= 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:(13230022)(4636009)(39860400002)(136003)(346002)(376002)(366004)(396003)(451199015)(6486002)(31686004)(84970400001)(478600001)(54906003)(6666004)(6916009)(316002)(66946007)(6506007)(4326008)(8676002)(53546011)(66556008)(66476007)(41300700001)(6512007)(26005)(2616005)(44832011)(5660300002)(36756003)(8936002)(83380400001)(186003)(2906002)(86362001)(38100700002)(31696002)(81973001)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB5881 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: DBAEUR03FT037.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 0103c7a9-5b26-4c8b-7f2a-08dabb41e35e X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: s3fBghiiSaYRlNJvVfkuLXiLoHzbZMen1Q5DpUnn7vWzPE3QIvIc0JiyPrqVKumV97Eot+8HCcy1sfyYuaKFI2lBsvHdvPVWlPtiILvrw/fbdPOdRtPPgfFIYMtMeFA2L0Za84bK8WjUU8TNT0PJAfIc5SK0U4L7on0BLDFpLgxE8piEgWsx14j7czjfyFVVQmlgHFZobbZx2ZWJxcGRQ1ZHGyw9wy2FbV/RoGJpt8psc0GMcdc4wEnhYJrzVyuwklwmVOQKMcR7eZGw2F6Ppp12VNuJAt4yAYX3Qne2w3bR16WBgWxVKfPMeM5FkDZbaeJG3ab+oITYF6dwvFvcw6WjvS3zeHViMv1gjhoaaHKmdSTdRbZxJ/MQ+sH9JgSHLSyMdALnj0wbgHV+n2bTdSzzARazx3winJ9Om7KOkSrf2hX0xp2Z4SZm5y89rwLT+h9Y87MP6lGNJKYm6BjMv7YYMrTSNqlbSJVXIvTKnBQVhuafSbJRLZ3fe8VczaLTPenP/zrn7H0LP5YZVqmb6b7hH3ll7LGrV3Fn81wBp3GNnRdQq4y7vglVA5icQtGIpRnKc3cm0cQXQuSs0yzcJpW8T2RKGp/+kBDgln0tBO6/4dAjcqAkceJlEOPfJoCmktGSKp/CEBKLUrUAz+FwBLz8CENzUz8jqwFZlZG6WlYTYrsiAhWcA5tHJr97piPVLlHrFNxZoH2as9/O+OK5lO/i0kRSPofsvcWvYqaTFGuf7FbUDKImO7gtltPbQX5lDgbWTohu9mzwsPkOaYLgXxvAzE8Sd/ZQ0tdf/8fxcPXCHfAY/6Inw8SHgqbEJ3AahHqbryzzJIGjWvKciD+iOKpHHgsfLUOMrI5jAW3A3Qg= 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:(13230022)(4636009)(346002)(136003)(396003)(39860400002)(376002)(451199015)(46966006)(40470700004)(36840700001)(81166007)(356005)(36756003)(31696002)(86362001)(82740400003)(40480700001)(40460700003)(2906002)(6486002)(44832011)(6666004)(107886003)(478600001)(8676002)(4326008)(70206006)(316002)(70586007)(6862004)(5660300002)(8936002)(54906003)(6506007)(41300700001)(186003)(82310400005)(2616005)(36860700001)(53546011)(26005)(6512007)(47076005)(336012)(83380400001)(31686004)(84970400001)(81973001)(43740500002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Oct 2022 13:15:00.5087 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8037f9a9-0cc6-4994-8171-08dabb41ea55 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: DBAEUR03FT037.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAWPR08MB9637 X-Spam-Status: No, score=-6.3 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,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 10/31/22 13:08, Maciej W. Rozycki wrote: > On Mon, 31 Oct 2022, Luis Machado wrote: > >> A bisect confirmed commit e7e1f2034567207e5e01cb75ea2ffd568a64e84d changed the >> gdb.python/py-parameter.exp behavior from PASS to FAIL. >> gdb.python/py-format.exp was failing before. >> >> I've attached the relevant gdb.log and gdb.sum. >> >> I don't fully understand the issue here, so I can't be sure this is a real >> regression or something that was broken before but this patch just happened to >> uncover it. > > Thanks. There is this error: > > Traceback (most recent call last): > File "", line 5, in > File "", line 4, in __init__ > RuntimeError: Range exceeded. > Error while executing Python code. > (gdb) PASS: gdb.python/py-parameter.exp: test_integer_parameter: kind=PARAM_UINTEGER: create parameter: input 7: end Yeah, I found this to be a bit odd. > > in creating the parameter earlier on and consequently all the subsequent > tests on the parameter fail. I think the case above shouldn't score as a > PASS either; pattern matching must be too liberal here. > > The situation here is previously only parameters of the PARAM_ZUINTEGER > and PARAM_ZUINTEGER_UNLIMITED types were tested. Now we also test ones of > the PARAM_UINTEGER, PARAM_INTEGER, and PARAM_ZINTEGER types, so it is a > new test that is failing. Parameter of all the types are initialised to > 0, which is permitted either as itself or as the "unlimited" value. For > the failing PARAM_UINTEGER case it means "unlimited". So wonder where > this range error is coming from really, hmm... Thanks for the details. > > You don't happen to have any local patches applied, do you? Also what > version of Python? No. This is a top-of-tree build. This happens for both Ubuntu 20.04 (Python 3.8.10) and Ubuntu 22.04 (Python 3.10.4). I have to say I noticed, in the past, some variability in the results of these python tests due to version. But in this case it seems to be a reliable outcome. I can try to pinpoint where that range exceeded message is coming from. It might give us answers. > > Maciej