lkml.org 
[lkml]   [1996]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Problem doing a read...
Albert Cahalan wrote:
> Which reminds me... Those numbers are ranges, right?
> I think I see an off-by-one error. Shouldn't that be:
>
> 0x08048000 0x08053fff r-xp 0x00000000 16:1 368915

Convention has memory ranges including the first byte but excluding the
last one. That way you can just subtract them and find the range size.
The limiting case is a 0 sized range, which by your convention would be
described as 4000-3fff; somewhat counterintuitive.

J



\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.033 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site