Module Name: src Committed By: skrll Date: Mon Jan 11 07:46:15 UTC 2016
Modified Files: src/sys/arch/aarch64/include: db_machdep.h Log Message: PR port-arm/50641: src/sys/arch/aarch64/include/db_machdep.h:67: possible bad if test ? Fix the bl instruction test. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/aarch64/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/aarch64/include/db_machdep.h diff -u src/sys/arch/aarch64/include/db_machdep.h:1.1 src/sys/arch/aarch64/include/db_machdep.h:1.2 --- src/sys/arch/aarch64/include/db_machdep.h:1.1 Sun Aug 10 05:47:38 2014 +++ src/sys/arch/aarch64/include/db_machdep.h Mon Jan 11 07:46:15 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: db_machdep.h,v 1.1 2014/08/10 05:47:38 matt Exp $ */ +/* $NetBSD: db_machdep.h,v 1.2 2016/01/11 07:46:15 skrll Exp $ */ /*- * Copyright (c) 2014 The NetBSD Foundation, Inc. @@ -64,7 +64,7 @@ extern db_regs_t ddb_regs; static inline bool inst_call(db_expr_t insn) { - return (insn & 0xfc000000) == 0x92000000 /* bl */ + return (insn & 0xfc000000) == 0x94000000 /* bl */ || (insn & 0xfffffcef) == 0xd63f0000; /* blr */ }