From 821603ee0eb6c0b795de75bb2599fc1fc1cccb7d Mon Sep 17 00:00:00 2001 From: deraadt Date: Sat, 8 May 2021 05:31:07 +0000 Subject: [PATCH] kernel setjmp saves 14 registers, not 13. ddb continue now works. ok jsg --- sys/arch/riscv64/include/_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/riscv64/include/_types.h b/sys/arch/riscv64/include/_types.h index d1d39d786fe..444d741c069 100644 --- a/sys/arch/riscv64/include/_types.h +++ b/sys/arch/riscv64/include/_types.h @@ -1,4 +1,4 @@ -/* $OpenBSD: _types.h,v 1.1 2021/04/23 02:42:16 drahn Exp $ */ +/* $OpenBSD: _types.h,v 1.2 2021/05/08 05:31:07 deraadt Exp $ */ /*- * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. @@ -36,7 +36,7 @@ #if defined(_KERNEL) typedef struct label_t { - long val[13]; + long val[14]; } label_t; #endif -- 2.20.1