Re: gdb tcp connection closing

Christo <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On Thu, 2018-09-20 at 17:48 -0500, Bill Morgan wrote:
> 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?

Have you activated the debug remote option in gdb (set debug remote 1)? This is sometimes useful
in pinpointing rsp problems.
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.