This is the mail archive of the gdb-patches@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]

Re: [PATCH] Fix alignment of disassemble /r


On 04/18/2014 01:27 AM, Daniel Gutson wrote:
> I already considered this, but thought that it would be going to be
> rejected due to be too much non-performant. Wouldn't each pass
> translate in a lot of MI messaging in a case of a remote server? And,

If you meant "rsp packets" rather than "MI messaging", we don't worry
about the performance much here.  disassemble uses code cache
(target_read_code) to read instructions from remote server and the
following read to the same area will hit the cache.

> what about screen paginig? I shouldn't iterate over all the range, but
> the screen height range only.

What is the reason do you think we shouldn't iterator over all the
range?  IMOï screen height and alignment are orthogonal.

-- 
Yao (éå)


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