Title: [4042] trunk/arch/blackfin/mach-common/entry.S: Fix bug[#3763] ignore soft bp except when single step except occurs.
Revision
4042
Author
sonicz
Date
2007-12-14 03:16:39 -0600 (Fri, 14 Dec 2007)

Log Message

Fix bug[#3763] ignore soft bp except when single step except occurs.

Diffstat

 entry.S |   11 +++++++++++
 1 files changed, 11 insertions(+)

Modified Paths

Diff

Modified: trunk/arch/blackfin/mach-common/entry.S (4041 => 4042)


--- trunk/arch/blackfin/mach-common/entry.S	2007-12-14 02:00:09 UTC (rev 4041)
+++ trunk/arch/blackfin/mach-common/entry.S	2007-12-14 09:16:39 UTC (rev 4042)
@@ -129,6 +129,16 @@
 ENDPROC(_ex_syscall)
 
 ENTRY(_ex_soft_bp)
+	r6 = syscfg;
+	bitclr (r7, 0);
+	syscfg = R7;
+
+	p4.l = lo(IPEND);
+	p4.h = hi(IPEND);
+	r6 = [p4];
+	CC = BITTST (r6, 5);
+	if CC jump _bfin_return_from_exception;
+
 	r7 = retx;
 	r7 += -2;
 	retx = r7;
@@ -156,6 +166,7 @@
 	r7 = [p4];
 	cc = r6 == r7;
 	if !cc jump _ex_trap_c;
+	jump _bfin_return_from_exception;
 ENDPROC(_ex_single_step)
 
 ENTRY(_bfin_return_from_exception)
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to