From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 195A83858D20; Tue, 3 Oct 2023 16:23:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 195A83858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1696350230; bh=JWUyUhdfb8REQBcY28EurwBLmY71HKiZLxHHshp/4e8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=WjA3LXEG7NyCvzSEo+KQAoO4XwFBbtIm1/MeEeCJjP43/9GgT8050dSoP50oeo6fN 8PIXQxgZC5iO/5W7oVu74wiZ+u4QpxuWcggsBv9KPTENi1eEfnnRTGWBp9/uA/JAOo KlpKLpXHdpU5znaDFg0RaaV6zYBn4DA+A967BRfg= From: "aburgess at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/30935] Regression exposed by new gdb.python/py-progspace-events.exp test and native-extended-gdbserver board Date: Tue, 03 Oct 2023 16:23:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aburgess at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 14.1 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30935 --- Comment #4 from Andrew Burgess --- I also noticed the problems with address_space, and that if we reference counted (shared_ptr) the address_space object that would have avoided this problem. However, I think that the commit I identified (a2827364e2bf19) does include= a bug, which should be fixed. To this end I've posted this patch: =20 https://inbox.sourceware.org/gdb-patches/c3a8e6149dd66bbc380bc8e03cbd011023= 3a5abd.1696349903.git.aburgess@redhat.com/T/#u With that patch merged then the problem we're running into here goes away. = At least for now. I think moving to using a ref-counted address_space would fix a bunch of problems, but I'm reluctant to try and get that in just before we branch a release -- also that feels like a much bigger task. --=20 You are receiving this mail because: You are on the CC list for the bug.=