diff options
author | Sonic Zhang <[email protected]> | 2009-03-05 18:26:59 +0800 |
---|---|---|
committer | Bryan Wu <[email protected]> | 2009-03-05 18:26:59 +0800 |
commit | d7ff1a90b2d3d122b896056d63db919617e9b6cd (patch) | |
tree | 5edcc57036c26f41fad67884267f0e2aa2f3d021 /lib/string_helpers.c | |
parent | c19577e34e641f802ad35fc0204ff68ea16fe7a3 (diff) |
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 <[email protected]>
Signed-off-by: Bryan Wu <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions