From f7b0fea081b12b228529e7b428a6d3928089a40c Mon Sep 17 00:00:00 2001 From: thorpej Date: Tue, 20 Apr 1999 21:30:15 +0000 Subject: [PATCH] After reviewing the Green Book, BPT traps do indeed leave the PC pointing to the instruction _after_ the `call_pal bpt' instruction. --- sys/arch/alpha/include/db_machdep.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/arch/alpha/include/db_machdep.h b/sys/arch/alpha/include/db_machdep.h index 24ab7c3ca2d6..8e80e2bbe1ee 100644 --- a/sys/arch/alpha/include/db_machdep.h +++ b/sys/arch/alpha/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: db_machdep.h,v 1.8 1999/04/20 21:23:56 thorpej Exp $ */ +/* $NetBSD: db_machdep.h,v 1.9 1999/04/20 21:30:15 thorpej Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. @@ -51,10 +51,8 @@ db_regs_t ddb_regs; /* register state */ #define BKPT_SIZE (4) /* size of breakpoint inst */ #define BKPT_SET(inst) (BKPT_INST) -#if 0 #define FIXUP_PC_AFTER_BREAK(regs) \ ((regs)->tf_regs[FRAME_PC] -= BKPT_SIZE) -#endif #define SOFTWARE_SSTEP 1 /* no hardware support */ #define IS_BREAKPOINT_TRAP(type, code) ((type) == ALPHA_KENTRY_IF && \