Title: [6026] trunk/arch/blackfin/mach-common/entry.S: Fix bug [#4409] and [#4410].
Revision
6026
Author
jiez
Date
2009-01-15 07:41:23 -0600 (Thu, 15 Jan 2009)

Log Message

Fix bug [#4409] and [#4410]. Don't decrement PC after software breakpoint.

Modified Paths

Diff

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


--- trunk/arch/blackfin/mach-common/entry.S	2009-01-15 11:40:29 UTC (rev 6025)
+++ trunk/arch/blackfin/mach-common/entry.S	2009-01-15 13:41:23 UTC (rev 6026)
@@ -151,13 +151,6 @@
 	jump.s _bfin_return_from_exception;
 ENDPROC(_ex_syscall)
 
-ENTRY(_ex_soft_bp)
-	r7 = retx;
-	r7 += -2;
-	retx = r7;
-	jump.s _ex_trap_c;
-ENDPROC(_ex_soft_bp)
-
 ENTRY(_ex_single_step)
 	/* If we just returned from an interrupt, the single step event is
 	   for the RTI instruction.  */
@@ -1087,7 +1080,7 @@
 	 * EXCPT instruction can provide 4 bits of EXCAUSE, allowing 16 to be user defined
 	 */
 	.long _ex_syscall       /* 0x00 - User Defined - Linux Syscall */
-	.long _ex_soft_bp       /* 0x01 - User Defined - Software breakpoint */
+	.long _ex_trap_c        /* 0x01 - User Defined - Software breakpoint */
 #ifdef	CONFIG_KGDB
 	.long _ex_trap_c	/* 0x02 - User Defined - KGDB initial connection
 							 and break signal trap */
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to