Communicate gdb with other process
Yao Qi
qiyaoltc@gmail.com
Fri Jul 24 08:37:00 GMT 2015
"Ding, Fei" <fei.ding@intel.com> writes:
> I'd like to make Gdbserver communicate with other process, such as:
>
> Gdb<===>Gdbserver<===>MyProgram
>
> Gdbserver and MyProgram will run on the same device.
>
> Any suggestion for implementation?
GDBserver can communicate with agent from other process by socket. You
can see gdb/common/agent.c. The protocol is documented
https://sourceware.org/gdb/current/onlinedocs/gdb/In_002dProcess-Agent-Protocol.html
--
Yao (齐尧)
More information about the Gdb
mailing list