Include start-of-region address
authorPiotr Kasprzyk <ciri@ciri.pl>
Sat, 8 Dec 2018 17:02:11 +0000 (18:02 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 15 Feb 2020 15:30:55 +0000 (15:30 +0000)
commite8c747048fed28edf1900df56e8ffd5ba77b221e
tree64e2099a64389bfc94fc4e353a93a3e6ed5b7a1c
parent0a11537b3220749107f4ec78c76236ac8c9339d1
Include start-of-region address

When $ADDRESS == $BASE that address used to be excluded.

After this commit $ADDRESS == $BASE is within the range.

Now the rule for "iswithin" is:
$BASE <= $ADDRESS < ($BASE + $LEN)

Thanks to Antonio Borneo <borneo.antonio@gmail.com> for noticing this.

Change-Id: I74373c6010e069372d886fa7ecd8120892616834
Signed-off-by: Piotr Kasprzyk <ciri@ciri.pl>
Reviewed-on: http://openocd.zylin.com/4799
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
tcl/memory.tcl