public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/30825] New: GDB doesn't send Hg packet when switching the inferiors
@ 2023-09-05 10:54 rajesh.palla at amd dot com
  2023-09-05 15:41 ` [Bug gdb/30825] " tromey at sourceware dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: rajesh.palla at amd dot com @ 2023-09-05 10:54 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30825

            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. 
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 
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
<arch>_unwind_pc(). Because if I do so, it works but that will add more latency
when we give step command etc..(it sends more g packets)

Any solution?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-09-06 16:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-05 10:54 [Bug gdb/30825] New: GDB doesn't send Hg packet when switching the inferiors rajesh.palla at amd dot com
2023-09-05 15:41 ` [Bug gdb/30825] " tromey at sourceware dot org
2023-09-06  4:29 ` rajesh.palla at amd dot com
2023-09-06  4:31 ` rajesh.palla at amd dot com
2023-09-06 16:38 ` tromey at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).