This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Speed up target_read_string
- From: Daniel Jacobowitz <drow at false dot org>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: Luis Machado <lgustavo at codesourcery dot com>, gdb-patches at sourceware dot org, Pedro Alves <pedro at codesourcery dot com>
- Date: Sat, 20 Aug 2011 17:10:47 -0400
- Subject: Re: [PATCH] Speed up target_read_string
- References: <4E4E9926.9000800@codesourcery.com> <20110820183702.GA4876@host1.jankratochvil.net>
On Sat, Aug 20, 2011 at 2:37 PM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> On Fri, 19 Aug 2011 19:11:02 +0200, Luis Machado wrote:
>> The following change is aimed at increasing the performance of
>> target_read_string for remote debugging. To accomplish that, the
>> buffer has been increased to 64 bytes and we now use
>> target_read_partial instead of target_read_memory.
>
> As this is implementation of
> ? ? ? ?[RFC] Make target_read_string faster over high-latency links.
> ? ? ? ?http://sourceware.org/ml/gdb-patches/2011-07/msg00391.html
>
> where Daniel had concerns about some embedded targets without a reply I guess
> you are aware of these issues (I am not).
>
For avoidance of doubt, I'll defer to Luis and Pedro on this topic.
--
Thanks,
Daniel