Module Name: src
Committed By: mrg
Date: Sun Aug 19 10:33:49 UTC 2018
Modified Files:
src/sys/arch/mips/mips: cpu_exec.c
Log Message:
fix a bug in the previous change: don't hide the break; behind DEBUG_EXEC.
should fix PR#53538. tested on erlite.
To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/arch/mips/mips/cpu_exec.c
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/mips/mips/cpu_exec.c
diff -u src/sys/arch/mips/mips/cpu_exec.c:1.66 src/sys/arch/mips/mips/cpu_exec.c:1.67
--- src/sys/arch/mips/mips/cpu_exec.c:1.66 Wed Aug 8 07:50:12 2018
+++ src/sys/arch/mips/mips/cpu_exec.c Sun Aug 19 10:33:49 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu_exec.c,v 1.66 2018/08/08 07:50:12 simonb Exp $ */
+/* $NetBSD: cpu_exec.c,v 1.67 2018/08/19 10:33:49 mrg Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu_exec.c,v 1.66 2018/08/08 07:50:12 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu_exec.c,v 1.67 2018/08/19 10:33:49 mrg Exp $");
#include "opt_compat_netbsd.h"
#include "opt_compat_ultrix.h"
@@ -157,8 +157,8 @@ mips_netbsd_elf32_probe(struct lwp *l, s
#ifdef DEBUG_EXEC
if (old_abi != p->p_md.md_abi)
printf("pid %d(%s): ABI set to O32 (e_flags=%#x)\n", p->p_pid, p->p_comm, eh->e_flags);
- break;
#endif /* DEBUG_EXEC */
+ break;
default:
return ENOEXEC;
}