This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patchv3] Workaround gdbserver<7.7 for setfs
- From: Pedro Alves <palves at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Gary Benson <gbenson at redhat dot com>
- Date: Tue, 5 Apr 2016 17:29:51 +0100
- Subject: Re: [patchv3] Workaround gdbserver<7.7 for setfs
- Authentication-results: sourceware.org; auth=none
- References: <20160319201842 dot GA16540 at host1 dot jankratochvil dot net> <56F13963 dot 9040204 at redhat dot com> <20160322131604 dot GA24312 at host1 dot jankratochvil dot net> <56F14F1E dot 5010606 at redhat dot com> <20160323211547 dot GA17400 at host1 dot jankratochvil dot net> <20160324220933 dot GA27445 at host1 dot jankratochvil dot net> <20160324223241 dot GB2548 at host1 dot jankratochvil dot net> <56FBDFE7 dot 90203 at redhat dot com> <20160404211406 dot GA32241 at host1 dot jankratochvil dot net>
On 04/04/2016 10:14 PM, Jan Kratochvil wrote:
> On Wed, 30 Mar 2016 16:17:11 +0200, Pedro Alves wrote:
>> E.g., reading this I'm left wondering, did it always respond OK to
>> unknown vFile packets, or to all unknown packets? I think it was
>> actually the latter.
>
> To all vFile packets. Other packets produce on gdbserver-7.6:
> Sending packet: $MustReplyEmpty#c4...Ack
> Packet received: E01
MustReplyEmpty is actually not a useful probe packet, because
that's actually an M (write memory) packet, which is then
misinterpreted and fails the write. So not an unknown packet.
Try qMustReplyEmpty or something like that instead.
Thanks,
Pedro Alves