Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/alpha/include After reviewing the Green Book, BPT t...



details:   https://anonhg.NetBSD.org/src/rev/d5fbac2e6319
branches:  trunk
changeset: 472095:d5fbac2e6319
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Apr 20 21:30:15 1999 +0000

description:
After reviewing the Green Book, BPT traps do indeed leave the PC pointing
to the instruction _after_ the `call_pal bpt' instruction.

diffstat:

 sys/arch/alpha/include/db_machdep.h |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 346d3dcc5136 -r d5fbac2e6319 sys/arch/alpha/include/db_machdep.h
--- a/sys/arch/alpha/include/db_machdep.h       Tue Apr 20 21:23:56 1999 +0000
+++ b/sys/arch/alpha/include/db_machdep.h       Tue Apr 20 21:30:15 1999 +0000
@@ -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 @@
 #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 && \



Home | Main Index | Thread Index | Old Index