This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC][patch] Make DCACHE_LINE runtime-settable
On Mon, 25 Jul 2011 22:21:18 +0200, Paul Pluzhnikov wrote:
> On Mon, Jul 25, 2011 at 12:00 PM, Jan Kratochvil <jan.kratochvil@redhat.com> wrote:
> > I have seen some of the target_read_memory requests are needlessly fragmented
> > into LINE_SIZE_POWER sized read requests. ÂHave you considered making the
> > gdbserver protocol read requests size dynamic depending on the caller's
> > requested read size?
>
> Uhm. The caller read request size here is 8 bytes (else I didn't
> understand what you are suggesting):
I was rechecking now the problem of consecutive small reads:
Sending packet: $m152bfc0,4#c0...Packet received: 2f757372
Sending packet: $m152bfc4,4#c4...Packet received: 2f6c6962
Sending packet: $m152bfc8,4#c8...Packet received: 36342f72
Sending packet: $m152bfcc,4#f3...Packet received: 65646c61
and they come from target_read_string - which you already solve in the other
thread. I had wrong expectation they come from large memory transfer
requests.
Thanks,
Jan