From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9F426398EC79; Fri, 9 Jul 2021 17:11:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9F426398EC79 From: "pedro at palves dot net" To: gdb-prs@sourceware.org Subject: [Bug threads/28065] FAIL: gdb.threads/access-mem-running-thread-exit.exp: all-stop: access mem (print global_var after writing again, inf=1, iter=354) Date: Fri, 09 Jul 2021 17:11:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: threads X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pedro at palves dot net X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2021 17:11:23 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28065 --- Comment #15 from Pedro Alves --- Created attachment 13553 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D13553&action=3Ded= it program showing you can continue accessing memory via file after thread exi= ts This got me questioning whether I was indeed correct that you can continue accessing memory via a file after the thread it was open for has exited, so= I tweaked the standalone reproducer to double check it, and indeed, that is correct. I'm attaching the file, just so if somebody else questions it, we have this recorded. --=20 You are receiving this mail because: You are on the CC list for the bug.=