[PATCH] Speed up target_read_string

Luis Machado lgustavo@codesourcery.com
Fri Aug 19 17:11:00 GMT 2011


Hi,

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.

The increase in the buffer size reduces the impact of the remote 
transfer overhead.

Luis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: target_read_string.diff
Type: text/x-patch
Size: 2708 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20110819/0ff1ea5e/attachment.bin>


More information about the Gdb-patches mailing list