This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/16196] lazy string vs "print elements"
- From: "dje at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 22 Nov 2013 20:32:48 +0000
- Subject: [Bug python/16196] lazy string vs "print elements"
- Auto-submitted: auto-generated
- References: <bug-16196-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16196
--- Comment #1 from dje at google dot com ---
If partial_memory_read fails, it will fall back to a byte at a time.
This can be really painful on remote targets.
Maybe it would make sense to at least read 8 bytes at a time (that's what
read_string does), until that fails or len < 8, and then read a byte at a time.
[One could even try larger chunks first, but I think it would be ok to at least
start with 8 bytes at a time.]
--
You are receiving this mail because:
You are on the CC list for the bug.