Opened 6 years ago

Last modified 6 years ago

#9710 new enhancement

Implement a remote debugging protocol

Reported by: anevilyak Owned by: bonefish
Priority: normal Milestone: Unscheduled
Component: Servers/debug_server Version: R1/Development
Keywords: Cc:
Blocked By: Blocking: #9711
Has a Patch: no Platform: All

Description

Currently our debug_server only supports handling local teams. It would be useful to design and implement support for listening for remote connections, as well as a corresponding remote debugging protocol. The latter could potentially be based on the existing gdb protocol, which would also allow remote debugging via gdb itself. However, to fully support the native feature set, that protocol would likely require some non-standard extensions, so that might be better as an additional possible option rather than being the primary native remote protocol.

Change History (3)

comment:1 Changed 6 years ago by anevilyak

Blocking: 9711 added

comment:2 Changed 6 years ago by bonefish

I'm not sure whether it will be a good idea to implement the gdb protocol as the primary protocol. From what I've seen so far it isn't particularly beautiful and efficient. The interoperability sounds nice, of course.

comment:3 Changed 6 years ago by anevilyak

I'd be inclined to agree from what I've seen of it, it was simply a possible suggestion as I've had it requested before that we support remote debugging via gdb. Another thought with regards to a native protocol would be that it'd ideally be nice if the implementation could be reused by the kernel debugger in order to allow remote debug of KDLs as well.

Note: See TracTickets for help on using tickets.