From: Bill Morgan <arthurwilliammorgan@gmail.com>
To: gdb@sourceware.org
Subject: gdb tcp connection closing
Date: Thu, 20 Sep 2018 22:49:00 -0000 [thread overview]
Message-ID: <CAM4wpo_HeQMWWv+a6C4oUvpQnTjrm9T+aaWRzYfXFyrCtQOZTA@mail.gmail.com> (raw)
I'm trying to write a GDB stub for an embedded application
For some reason the GDB host is closing the TCP connection after it
requests qOffsets, and the stub sends an empty reply.
Is that expected?
Here is the entire conversation:
Host:
.+$qSupported:multiprocess+;swbreak+;hwbreak+;qRelocInsn+;fork-events+;vfork-events+;exec-events+;vContSupported+;QThreadEvents+;no-resumed+#df
Target: +$PacketSize=3fff;QPassSignals+;qXfer:features:read+#8f
Host: +$vMustReplyEmpty#3a
Target: +$#00
Host: +$Hg0#df
Target: +$OK#9a
Host: +$qXfer:features:read:target.xml:0,fff#7d
Target: +$l<target><architecture>arm</architecture></target>#06
Host: +$qTStatus#49
Target: +$#00
Host: +$?#3f
Target: +$T050b:0*"00;0d:e07f2030;0f:10533060;thread:9#24
Host: +$qfThreadInfo#bb
Target: +$m9#a6
Host: +$qsThreadInfo#c8
Target: +$me#d2
Host: +$qsThreadInfo#c8
Target: +$mf#d3
Host: +$qsThreadInfo#c8
Target: +$m13#d1
Host: +$qsThreadInfo#c8
Target: +$l#6c
Host: +$qAttached#8f
Target: +$1#31
Host: +$Hc-1#09
Target: +$OK#9a
Host: +$qOffsets#4b
Target: +$#00
Host: +
Host closes connection
next reply other threads:[~2018-09-20 22:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-20 22:49 Bill Morgan [this message]
2018-09-21 4:49 ` Christo
2018-09-21 12:57 ` Bill Morgan
2018-09-21 13:16 ` Bill Morgan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAM4wpo_HeQMWWv+a6C4oUvpQnTjrm9T+aaWRzYfXFyrCtQOZTA@mail.gmail.com \
--to=arthurwilliammorgan@gmail.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).