gdb tcp connection closing

Bill Morgan <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAM4wpo_HeQMWWv+a6C4oUvpQnTjrm9T+aaWRzYfXFyrCtQOZTA@mail.gmail.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.