From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 28D2A3858C1F; Tue, 5 Sep 2023 10:54:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 28D2A3858C1F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1693911275; bh=j63hbzdBJq5fW4A6uXbbZswfc8omFEdqd3LkECLvdpM=; h=From:To:Subject:Date:From; b=aAdSx9/QFt/P9KOUzouvfIVs5X+LYmPLVDEfJ7Pq37O8F7TeNwjnVSsApwdq/++Ns rEtQbT0UvG0UbnLXr8vf0pe4v4Bur2JQyPw4qKu7GB53O9O6DcaU6E59PDluSUICGo oh/970fTJD7rbLN6a9dzPtPcJHKFs/tZ1/mw0T4Q= From: "rajesh.palla at amd dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/30825] New: GDB doesn't send Hg packet when switching the inferiors Date: Tue, 05 Sep 2023 10:54:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: rajesh.palla at amd dot com 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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 Bug ID: 30825 Summary: GDB doesn't send Hg packet when switching the inferiors Product: gdb Version: 12.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: rajesh.palla at amd dot com Target Milestone: --- When we switch the inferiors using infe command, I am expecting GDB to send= Hg Packet to the remote stub so that the remote stub can work on the selected inferior. But GDB isn't sending the Hg packet every time.=20 In a scenario where I have two inferiors, if I switch the inferiors without doing any operation, I don't see Hg Packet after first time infe 1 infe 2=20 infe 1 infe 2 Output log: GDB -> $Hgp1.1#af GDB <- $OK#9a GDB -> $g#67 GDB <- $0000000000e0030000.....#49 Is it expected to invalidate the pc register from regcache in _unwind_pc(). Because if I do so, it works but that will add more lat= ency when we give step command etc..(it sends more g packets) Any solution? --=20 You are receiving this mail because: You are on the CC list for the bug.=