]> err.no Git - linux-2.6/commit
[Blackfin] arch: fix gdb testing regression
authorBernd Schmidt <bernds_cb1@t-online.de>
Wed, 7 May 2008 03:41:26 +0000 (11:41 +0800)
committerBryan Wu <cooloney@kernel.org>
Wed, 7 May 2008 03:41:26 +0000 (11:41 +0800)
commit0893f1250f87e0a832f47bb60fb69ed0d52be7a3
tree96dbea09cc618f4e6c4db2a671de215ba6b9784b
parent8513c42edb3f1c91a8418fae11846c87cf7b8581
[Blackfin] arch: fix gdb testing regression

When transferring to IRQ5 from an exception, save SYSCFG in memory across the
transfer and clear the trace bit.

When we get a single step exception, check whether we can safely clear the
trace bit in SYSCFG.  We can (and should) clear it after the first instruction
of the interrupt handler; the first insn saves SYSCFG to the stack in all
handlers.

Signed-off-by: Bernd Schmidt <bernds_cb1@t-online.de>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/mach-common/entry.S
include/asm-blackfin/entry.h
include/asm-blackfin/mach-common/context.S