This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug python/16196] lazy string vs "print elements"


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]