This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: "GDB remote protocol?"
"xinan tang" <xinan@TidalNetworks.net> writes:
> For other targets, I found out files with names of *-remote.c such as
> file remote-mips.c. Does remote-mips.c use the GDB remote protocol or
> other protocol specialized for MIPS vendors?
remote-mips.c uses a different protocol which is completely different
from the GDB remote protocol. I can't remember who developed it, but
I think it was IDT. The protocol framing is described in a long
comment starting around line 150 of the file. The protocol commands
are described in a comment before the function mips_request().
Looking at the code, I see that some new commands have been added here
and there; I'm not sure whether those are documented in the file
anywhere.
Ian