This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
extended remote protocol
- To: gdb at sourceware dot cygnus dot com
- Subject: extended remote protocol
- From: jtc at redback dot com (J.T. Conklin)
- Date: 11 Sep 2000 16:20:58 -0700
- Reply-To: jtc at redback dot com
The remote protocol description in gdb.texinfo states:
Stubs that support the extended remote protocol return @samp{}
which, unfortunately, is identical to the response returned by
stubs that do not support protocol extensions.
which I've believed without question until earlier today. I was
poking around gdbserver/server.c trying to tighten up command parsing,
and I found:
case '!':
extended_protocol = 1;
prepare_resume_reply (own_buf, status, signal);
break;
case '?':
prepare_resume_reply (own_buf, status, signal);
break;
gdbserver is the only stub I know of that supports the extended remote
protocol. Has it always output the resume reply like the '?' command?
Are there other stubs that support the extended remote protocol?
--jtc
--
J.T. Conklin
RedBack Networks