This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb tcp connection closing


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]