Module Name: src Committed By: skrll Date: Tue Nov 19 18:11:52 UTC 2024
Modified Files: src/sys/arch/riscv/include: db_machdep.h Log Message: Whitespace To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/riscv/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/riscv/include/db_machdep.h diff -u src/sys/arch/riscv/include/db_machdep.h:1.9 src/sys/arch/riscv/include/db_machdep.h:1.10 --- src/sys/arch/riscv/include/db_machdep.h:1.9 Sat Sep 2 09:27:09 2023 +++ src/sys/arch/riscv/include/db_machdep.h Tue Nov 19 18:11:52 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: db_machdep.h,v 1.9 2023/09/02 09:27:09 skrll Exp $ */ +/* $NetBSD: db_machdep.h,v 1.10 2024/11/19 18:11:52 skrll Exp $ */ /*- * Copyright (c) 2014 The NetBSD Foundation, Inc. @@ -50,15 +50,15 @@ extern db_regs_t ddb_regs; #define PC_REGS(tf) ((tf)->tf_pc) -#define PC_ADVANCE(tf) do { \ - if (db_get_value((tf)->tf_pc, sizeof(uint32_t), false) == BKPT_INST) \ - (tf)->tf_pc += BKPT_SIZE; \ +#define PC_ADVANCE(tf) do { \ + if (db_get_value((tf)->tf_pc, sizeof(uint32_t), false) == BKPT_INST) \ + (tf)->tf_pc += BKPT_SIZE; \ } while(0) /* Similar to PC_ADVANCE(), except only advance on cpu_Debugger()'s bpt */ -#define PC_BREAK_ADVANCE(tf) do { \ - if ((tf)->tf_pc == (register_t)cpu_Debugger_insn) \ - (tf)->tf_pc = (register_t)cpu_Debugger_ret; \ +#define PC_BREAK_ADVANCE(tf) do { \ + if ((tf)->tf_pc == (register_t)cpu_Debugger_insn) \ + (tf)->tf_pc = (register_t)cpu_Debugger_ret; \ } while(0) #define BKPT_ADDR(addr) (addr) /* breakpoint address */