From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D53F43857C45; Wed, 29 Mar 2023 13:00:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D53F43857C45 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1680094835; bh=3Bnx7UW7nhxXcFtTcYMRgW63yRexUmL76C4eAX7A7NY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=iCedNKHnW+bR+kfdltdmls5Se1bItwDZEaS0ZNqX3LReyf+nvbyM5VW2mQoiob4sm p/C8ZNv5aAxVr7+U2Si3MVS+hJIbZvVP5UZEaW2REXcxuwnFJ4h6N28hy/+QbcsW/X HY63BEPW+mmCR+EW+oAU3+AdSCdYhesgYkD8IfT8= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug corefiles/11241] Stack cache not flushed when switching core files Date: Wed, 29 Mar 2023 13:00:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: corefiles X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 7.1 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D11241 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at sourceware dot o= rg --- Comment #1 from Tom Tromey --- I think this is done now, core_target_open calls registers_changed. commit 739fc47ac9a6169d7b12e82a3ec6ce8472354f78 Author: Pedro Alves Date: Mon May 18 12:12:16 2009 +0000 * corelow.c (core_open): Flush the register cache before doing anything with registers. The only issue here is that this patch post-dates the bug report, and according to git, it appears on the gdb 7.0 branch -- and the bug was reported against 7.1. --=20 You are receiving this mail because: You are on the CC list for the bug.=