From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 3WGAEvWiMWlkIRkAWB0awg (envelope-from ) for ; Thu, 04 Dec 2025 10:04:21 -0500 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=labware.com header.i=@labware.com header.a=rsa-sha256 header.s=mimecast20220511 header.b=EJtO27lm; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 3CD251E0B3; Thu, 04 Dec 2025 10:04:21 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=no autolearn_force=no version=4.0.1 Received: from sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 294CC1E08D for ; Thu, 04 Dec 2025 10:04:20 -0500 (EST) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 945534B9DB61 for ; Thu, 4 Dec 2025 15:04:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 945534B9DB61 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=labware.com header.i=@labware.com header.a=rsa-sha256 header.s=mimecast20220511 header.b=EJtO27lm Received: from us-smtp-delivery-114.mimecast.com (us-smtp-delivery-114.mimecast.com [170.10.129.114]) by sourceware.org (Postfix) with ESMTP id 5071E4BA23F9 for ; Thu, 4 Dec 2025 15:03:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5071E4BA23F9 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=labware.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=labware.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5071E4BA23F9 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.114 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1764860631; cv=none; b=SdzPRanMJ+oEPIfFCAt4WEnKs7mC9N3SWlmFNKYyK2e2xzKoD1iHTI47pxTKFG+91WDurvSvPggqzna8HU3HoqPYyusd7RkluuF/KBSmIXqC5yDfCVHDRE8UjMPTCry6QDfj6C+bD/4BEXegM9bNhi4ffoOqujrbvD2WgT1Ckuo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1764860631; c=relaxed/simple; bh=pie/A9V2++6LLMeL14TG5dWyHxrrkveh2frZMcE3Qj4=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=GnQliQrUtMkY0/fXKkpYJL1B4uhyJYCTg7997zpYNgHLDVSeKDbgnhinwIiR+ec5atbmsyibZ8E4Tyi1TfTC+fM8afpmd4AQ5zvBdGnPQlt3mBqNbhXtgoJa8XjysyS6NLs85/HTGalTN/mc4btQrTnb0gQG9k8wGXWPzkcToVE= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5071E4BA23F9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=labware.com; s=mimecast20220511; t=1764860630; 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=pie/A9V2++6LLMeL14TG5dWyHxrrkveh2frZMcE3Qj4=; b=EJtO27lmhLNrx3/hQS0N7lQ6UXYQNXveHDrdiqD9+0xHGemnZEIw6R8ioRvk8TvGKyO5u2 PXbhwxilEGlZC/Zc+Gy2kc0PrzMApItFEAPzJPAbMkvhc+18bFc2cfAi8d9NGTcrC8YGZv l5yXdTtGZqpSOUNNBw64i6Sf3SZ3DlE= Received: from SJ2PR03CU001.outbound.protection.outlook.com (mail-westusazon11022138.outbound.protection.outlook.com [52.101.43.138]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-589-yoK9f2m0OFOgRTPdBrtv7w-1; Thu, 04 Dec 2025 10:03:49 -0500 X-MC-Unique: yoK9f2m0OFOgRTPdBrtv7w-1 X-Mimecast-MFC-AGG-ID: yoK9f2m0OFOgRTPdBrtv7w_1764860627 Received: from SA1PR17MB5365.namprd17.prod.outlook.com (2603:10b6:806:1d8::11) by MN2PR17MB3774.namprd17.prod.outlook.com (2603:10b6:208:203::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9388.10; Thu, 4 Dec 2025 15:03:41 +0000 Received: from SA1PR17MB5365.namprd17.prod.outlook.com ([fe80::9a:538a:fa42:730e]) by SA1PR17MB5365.namprd17.prod.outlook.com ([fe80::9a:538a:fa42:730e%3]) with mapi id 15.20.9388.003; Thu, 4 Dec 2025 15:03:41 +0000 From: =?iso-8859-15?Q?Jan_Vran=FD?= To: "tom@tromey.com" , "tdevries@suse.de" CC: "gdb-patches@sourceware.org" , "simon.marchi@efficios.com" Subject: Re: [pushed] gdb: change blockvector::contains() to handle blockvectors with "holes" Thread-Topic: [pushed] gdb: change blockvector::contains() to handle blockvectors with "holes" Thread-Index: AQHcYG3oDHBb5lrX2EOK4Bd8g45ZOrUOpQdSgABHvICAAWqSSIAAICgAgADtvICAADhDgA== Date: Thu, 4 Dec 2025 15:03:41 +0000 Message-ID: <2f735e7b624ce11d4ecd1d1e4be6658262f8a81a.camel@labware.com> References: <20251128134950.1763596-1-jan.vrany@labware.com> <20251128134950.1763596-2-jan.vrany@labware.com> <87ecpc93xk.fsf@tromey.com> <87sedr73yv.fsf@tromey.com> <84386110e9037b89a33f6c00a276d025fed7fb67.camel@labware.com> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SA1PR17MB5365:EE_|MN2PR17MB3774:EE_ x-ms-office365-filtering-correlation-id: 5e33a445-1e91-46a2-89d2-08de33464fdb x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|376014|1800799024|366016|38070700021 x-microsoft-antispam-message-info: =?iso-8859-15?Q?hQQXceR/ckpvUrnD4z0mu//7kvmGiDcHLPKYJjg8vSmph/KpelobF+uNA?= =?iso-8859-15?Q?NmyPFTrcb8RFOYpm+ZOG5MSUXFceyN41ZNXhidA671TUu5PTPFAcklL4u?= =?iso-8859-15?Q?ZQlsxuZLwPuXkpmT056Jt2QXafJvPzHWUreEFjr6Dl+C8d825SWoJzeEQ?= =?iso-8859-15?Q?DXU+gJwqzvBMRDGEhxP8yY1ZjGGJnABNcCTlbQXZge81XfbOk4T0RANcL?= =?iso-8859-15?Q?/TdEF47yI5lFpNi9ImHGmfwlYtlKjLu6ynEyUMmW9pttIVNpUfrvy/+d2?= =?iso-8859-15?Q?ZWdKPiU16Kbb4nKoqR+zqlo15Tjzt66h8NkDtYXXnU9gfesLyF1EH+L/E?= =?iso-8859-15?Q?gzgfwapQLctsvBuYrGXNSIoxmx7+PyVgsfNupXhDYfztF/u0EsulPVhSx?= =?iso-8859-15?Q?Rv7gmYN2oAJvFH2gLRjdwtKRYuJYJBGh7c6HVUa6p09ggSTyJc7pBBYSJ?= =?iso-8859-15?Q?UGKxCYJAXG0Xh7y6QHdVCooBDWUkrneg6LA4Lrz9q2LLkcMJC+jqpfPIT?= =?iso-8859-15?Q?Eqo8p7RExEzAWF0k1VVY1Z52/1/mSG5muBpBfLCc3QTaOpW3HFUATKCKh?= =?iso-8859-15?Q?s8IcNhHXIkOfcQTlFCFQzl2TSRw/licqRmtfb7jRPSkZ6dyNAGkhi1c15?= =?iso-8859-15?Q?C00aOcXLj/j94ejagog0H/lUhw+ZE7nIL8YlI9h7M0Gs52nlZij6saUvM?= =?iso-8859-15?Q?u5BvMUhTZt90dH27bIYSF8kgUikYnl3Ib8MmHGZQWH/aJG00r0E2NbKij?= =?iso-8859-15?Q?+rCJ0aAtGB5gsY2/7V9xjqpgVjgpPRf9uY86W0dHG2EZR1tTeUAuup1J/?= =?iso-8859-15?Q?swacs5puIT15nF5Hz/7AEG0C12v5KnUP2yrQUs7qR3hGjSW/4boTNNobn?= =?iso-8859-15?Q?VwOcgo1dlUFKYcZh1XDbVKsnTfh5l3jc3x1vol4pBuMUBwqJVQx4EJNA4?= =?iso-8859-15?Q?K8aKsrJuO3AbU4AQxJckZUegmivHiFIDI4VBTp4iSHB9IgNgBnW/MO3XK?= =?iso-8859-15?Q?owghzn5oFEDEr/hJc5XarzGpgk0+yN/U1xsF5OrIGzufVrE74yiKEgCbL?= =?iso-8859-15?Q?pKxuoslR29wOtwV8z42yfdaJH4vLNWhKvjg/90nl2TSznUYy6d080GSf5?= =?iso-8859-15?Q?fCD2n6RmC3sGwPXN2Bes2ODvYBoUkbWPhsbV279jvK4RSgiX8ATm4+2+F?= =?iso-8859-15?Q?iuUATq03BWRi5mE6BzQeRal+KhZyr2VCnG4pq0R6sPinHAqCdszdSIJYJ?= =?iso-8859-15?Q?P5SZVXI5kmD1AwqUp8DLTg93bAC2DEI9Qblh6n677JZINaamE+tgZOO25?= =?iso-8859-15?Q?v/0ygyTZQF9Z33VQTs85Loc9Ta8PAwmvkXirOp/Jzu3il3HyPA+TW8cis?= =?iso-8859-15?Q?KPedpQiVl3PMIzRe3Sk59WQPD93dxj9mX3qM6L4VgrNiNC9GdGR4o8BKT?= =?iso-8859-15?Q?Ntdr2eH+lKqW8x9SVB89WI7lWf13x/oLOe5fFa/EzBRIKrTT/N89iWpbY?= =?iso-8859-15?Q?5wBCcgXzja+s6aIBpEqU5NavfB1vi1tFYYgAbrxHc44q2WdP/DNj0nd9+?= =?iso-8859-15?Q?ehc7nWCksugA=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA1PR17MB5365.namprd17.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(1800799024)(366016)(38070700021); DIR:OUT; SFP:1102 x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-15?Q?hu9PO5h/nat7EABT/vjUz2ejyxkfv9GNmypl1LYMknkQSyXdojHWLd0Bx?= =?iso-8859-15?Q?vfs9O7SPIxFQr8gneEdsjjaoDEudj66B0gA3dGUqV7RC3eAcZTv5cshVt?= =?iso-8859-15?Q?cW+g7apOlVxWbBNYkD5+raVYcD+lW3e/WWKG9dkOjPkvD6cGTkeYILO1G?= =?iso-8859-15?Q?Rj7mPTfpWB9KJAXkygcRUJvwIrdkkDjJp+rGFtozyzHkj0nzHn69u6VE5?= =?iso-8859-15?Q?6uScx/9TQvwJVtnH8GuNS+xQd4eonJcclFkVCdbQaN3D7DcxsOrjAOgTS?= =?iso-8859-15?Q?tszckP232ALVjdh0Q2iJEeuoRWZQ0a6QP+n1lIVp5MwtzZUECJmivHd5O?= =?iso-8859-15?Q?2ucRxgr20wHAdaJT23Q03jg6mH3swclZazY4/MP81maebWGzANnZ4nmgB?= =?iso-8859-15?Q?JbgmRIou6wJkx+lbkt0db/2DBRQSOAiic0CMdtAN4lyzm+3WrS93XnPqS?= =?iso-8859-15?Q?eJ6+VpjHIb6TIeQgc670vEnlAZykrSgFwAAPg7rUrx5tn8TEjf6ufaLUK?= =?iso-8859-15?Q?w4GO/0PRSgO1QVBHm6/kncHPUlA59TYgIGTYOjwy+MVePFcTwKvI6iUcY?= =?iso-8859-15?Q?iv+VvX8U2bTZfzg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J0srG21LkfiyWo3nDI3mpry6WaXIJkHMq5JsSPd9+hg3IiBvRUf5QDeYO?= =?iso-8859-15?Q?ODZACOFDZyVfbeyJxtrooV/RdVz1gYMF8Lm+4XDvjoVtTLRqypY5Bvkph?= =?iso-8859-15?Q?6ILGaYKjgeTRegcVv1HDrVsCcMyG5Vaflw8dbTYROHj6vVZAvCqe5mALG?= =?iso-8859-15?Q?ogLJ?= MIME-Version: 1.0 X-OriginatorOrg: labware.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA1PR17MB5365.namprd17.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5e33a445-1e91-46a2-89d2-08de33464fdb X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Dec 2025 15:03:41.3103 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b5db0322-1aa0-4c0a-859c-ad0f96966f4c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 2IsdSvpnYWHMcSibG2e6rhXxwx7u8gZoN9cei9WvlYAa4NMY+i4x5CpOtoQSyxgeqL/hIq0xZw62Z8ZGP9AzIg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR17MB3774 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: d8z5usqK6el7TkcHcabUXApgJFJeHXNz675IBRtxVbg_1764860627 X-Mimecast-Originator: labware.com Content-Language: en-US Content-Type: text/plain; charset=ISO-8859-15 Content-ID: <8C29EEF197110A4392F464983410749E@namprd17.prod.outlook.com> Content-Transfer-Encoding: quoted-printable X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org On Thu, 2025-12-04 at 12:42 +0100, Tom de Vries wrote: > On 12/3/25 10:31 PM, Jan Vran=FD wrote: > > On Wed, 2025-12-03 at 12:36 -0700, Tom Tromey wrote: > > > > > > > > "Jan" =3D=3D Jan Vran=FD writes: > > >=20 > > > > > FWIW it seems to me that the blockvector should just have a singl= e > > > > > lookup function, and it should be used to find precisely the code= block > > > > > containing the given address.=A0 That is, it should never return = the > > > > > static or global block, since those aren't really "code" but inst= ead > > > > > just containing scopes.=A0 This is the direction I was trying to = head by > > > > > removing calls to map(); the one remaining call is one of these w= eird > > > > > ones... > > >=20 > > > Jan> I agree, I just do not really understand why there was the > > > Jan> difference in first place. > > >=20 > > > I don't really, either.=A0 That code is pretty old, though, and some = of > > > the older code is pretty questionable.=A0 Like sometimes problems wit= h > > > debug readers were worked around in core code rather than being solve= d > > > in the reader, abstractions were very leaky (or in this case > > > nonexistent), etc. > > >=20 > > > Jan> In fact, it seems that it matters - I've got a report that this > > > Jan> commit caused regression on arm (still investigating, I do not h= ave > > > Jan> armhf system at hand, so need to set it up first). > > >=20 > > > My current attempt at cleanups here also run into some regressions th= at > > > I wasn't really expecting :( > > >=20 > > > Anyway I'd find it interesting to learn what the ARM regression is > > > about. > >=20 > > Yeah, it's weird. The report is here: > >=20 > > https://linaro.atlassian.net/browse/GNU-1767 > >=20 > > I did not yet managed to reproduce it. It does not seem to manifest Deb= ian > > armhf running on QEMU. I'm not familiar with ARM ecosystem myself and > > I do not know yet how to arrive at working "armv8l" system. I'll let yo= u > > know when I learn more but just now I'm running out of ideas on how to > > debug this :( > >=20 >=20 > I bisected this PR (=20 > https://sourceware.org/bugzilla/show_bug.cgi?id=3D33679 ) to this commit. >=20 > Are the regressions you mention the same issue? Yes! "gdb.base/annota1.exp: send SIGUSR1 (timeout)" is one of the failing t= ests. Thanks a lot! Jan