Module Name:    src
Committed By:   rin
Date:           Sun Dec 15 06:05:00 UTC 2019

Modified Files:
        src/sys/arch/powerpc/include: db_machdep.h

Log Message:
Do not mask out LK bit (bit 31) from M_BCTR, which distinguishes
bcctr and bcctrl.

Fix build failure for ibm4xx kernels with GCC8.

XXX
pullup to netbsd-9, -8, and -7


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/powerpc/include/db_machdep.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/powerpc/include/db_machdep.h
diff -u src/sys/arch/powerpc/include/db_machdep.h:1.26 src/sys/arch/powerpc/include/db_machdep.h:1.27
--- src/sys/arch/powerpc/include/db_machdep.h:1.26	Mon Nov  6 03:47:48 2017
+++ src/sys/arch/powerpc/include/db_machdep.h	Sun Dec 15 06:05:00 2019
@@ -1,5 +1,5 @@
 /*	$OpenBSD: db_machdep.h,v 1.2 1997/03/21 00:48:48 niklas Exp $	*/
-/*	$NetBSD: db_machdep.h,v 1.26 2017/11/06 03:47:48 christos Exp $	*/
+/*	$NetBSD: db_machdep.h,v 1.27 2019/12/15 06:05:00 rin Exp $	*/
 
 /* 
  * Mach Operating System
@@ -98,7 +98,7 @@ extern	db_regs_t	ddb_regs;		/* register 
 #define M_B		0xfc000001
 #define I_B		0x48000000
 #define I_BL		0x48000001
-#define	M_BCTR		0xfc0007fe
+#define	M_BCTR		0xfc0007ff
 #define	I_BCTR		0x4c000420
 #define	I_BCTRL		0x4c000421
 #define	M_RFI		0xfc0007fe

Reply via email to