From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8271E3858416; Wed, 6 Sep 2023 16:38:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8271E3858416 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1694018306; bh=iYX+0rJU6fgeiT9b2STopEtgZN8DMvVONQYKz0taJKU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=A2aiHMQAxQSdlkD0YsJS2vDRqnRW1dCS35erps3dGjC8gq5TxFbhtWpY84dU2ZjAe WJ8xOUnq6dnZahCC4CVjyi7gjWy5T42OB4aDAL8Onf8/1+elBiv92cEvtYIY2i4ryY GwwcIEC0rYAwAMz2LAA2TeHWzuO1MqvGGC7F/tAY= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug gdb/30825] GDB doesn't send Hg packet when switching the inferiors Date: Wed, 06 Sep 2023 16:38:25 +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: 12.1 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: --- 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=3D30825 --- Comment #4 from Tom Tromey --- >From that log, the Hg is sent because immediately after, gdb tries to read memory. I'm not sure why switching does nothing in your case. There is no high road to this, you just have to debug gdb. Invalidating the regcache in the low levels seems wrong to me. Why don't the higher level invalidations work for you? --=20 You are receiving this mail because: You are on the CC list for the bug.=