This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC][patch] Avoid repeated calls to solib_add on initial attach.
On Wed, Jul 20, 2011 at 9:35 AM, Pedro Alves <pedro@codesourcery.com> wrote:
>> ? qStr {addr},{maxlen},{terminator}
...
> We considered a packet like this too, but decided that bumping
> target_read_string first and seeing if anything breaks would be
> better. ?Haven't heard back of any breakage or slowdown so far.
> I propose we do the same upstream.
But do you have any targets where reading individual words is slow?
I don't know about any such targets first-hand, but I've heard that
JTAG reading could be exceedingly slow.
Another possible alternative is to make this a run-time parameter:
'maintenance set string-read-size 64' or some such. Default to 64 and
let JTAG people dial it down if it ever becomes a problem for them?
Thanks for your comments.
--
Paul Pluzhnikov