svn commit: r314370 - head/sys/powerpc/include

Justin Hibbits jhibbits at FreeBSD.org
Tue Feb 28 04:13:21 UTC 2017


Author: jhibbits
Date: Tue Feb 28 04:13:20 2017
New Revision: 314370
URL: https://svnweb.freebsd.org/changeset/base/314370

Log:
  Unbreak kernel breakpoints, broken for ~4 years now
  
  When committing DTrace in 2012/2013 era I inadvertently broke breakpoints, by
  setting EXC_DTRACE to the same value as BKPT_INST.  Change EXC_DTRACE to a
  different, yet logically identical, trap (tw <all>,31,31).
  
  MFC after:	2 weeks

Modified:
  head/sys/powerpc/include/trap.h

Modified: head/sys/powerpc/include/trap.h
==============================================================================
--- head/sys/powerpc/include/trap.h	Tue Feb 28 02:27:51 2017	(r314369)
+++ head/sys/powerpc/include/trap.h	Tue Feb 28 04:13:20 2017	(r314370)
@@ -126,7 +126,7 @@
 #define	EXC_PGM_TRAP		(1UL << 17)
 
 /* DTrace trap opcode. */
-#define EXC_DTRACE	0x7c810808
+#define EXC_DTRACE	0x7ffff808
 
 /* Magic pointer to store TOC base and other info for trap handlers on ppc64 */
 #define TRAP_GENTRAP	0x1f0


More information about the svn-src-head mailing list