From: Sonic Zhang Date: Thu, 5 Mar 2009 10:26:59 +0000 (+0800) Subject: Blackfin arch: Fix bug - KGDB single step into the middle of a 4 bytes instruction... X-Git-Tag: v2.6.29-rc8~60^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7ff1a90b2d3d122b896056d63db919617e9b6cd;p=pandora-kernel.git Blackfin arch: Fix bug - KGDB single step into the middle of a 4 bytes instruction on bf561 after soft bp is hit Run IFLUSH twice to avoid loading wrong instruction after invalidating icache and following sequence is met. 1) The one instruction address is cached in the icache. 2) This instruction in SDRAM is changed. 3) IFLASH[P0] is executed only once in lackfin_icache_flush_range(). 4) This instruction is executed again, but not the changed new one. Signed-off-by: Sonic Zhang Signed-off-by: Bryan Wu --- Reading git-diff-tree failed