svn commit: r258240 - head/sys/arm/arm

Ian Lepore ian at FreeBSD.org
Sat Nov 16 23:37:56 UTC 2013


Author: ian
Date: Sat Nov 16 23:37:56 2013
New Revision: 258240
URL: http://svnweb.freebsd.org/changeset/base/258240

Log:
  In the data abort handler, don't panic if kdb is available and says it
  handled the condition.
  
  PR:		arm/183668
  Submitted by:	Howard Su <howard0su at gmail.com>

Modified:
  head/sys/arm/arm/trap.c

Modified: head/sys/arm/arm/trap.c
==============================================================================
--- head/sys/arm/arm/trap.c	Sat Nov 16 21:58:58 2013	(r258239)
+++ head/sys/arm/arm/trap.c	Sat Nov 16 23:37:56 2013	(r258240)
@@ -528,7 +528,8 @@ dab_fatal(struct trapframe *tf, u_int fs
 
 #ifdef KDB
 	if (debugger_on_panic || kdb_active)
-		kdb_trap(fsr, 0, tf);
+		if (kdb_trap(fsr, 0, tf))
+			return (0);
 #endif
 	panic("Fatal abort");
 	/*NOTREACHED*/


More information about the svn-src-all mailing list