aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/include
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2004-07-10 22:11:14 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2004-07-10 22:11:14 +0000
commit6c29a22f1f85a0c353ad191e3fdf1e74da887046 (patch)
treea7a14b31dc4fc94c9b09d8d791e32e7ebac062c3 /sys/i386/include
parent2b61b0df4d900765f607fc6cee0c642a5875612a (diff)
downloadsrc-6c29a22f1f85a0c353ad191e3fdf1e74da887046.tar.gz
src-6c29a22f1f85a0c353ad191e3fdf1e74da887046.zip
Update for the KDB framework:
o s/ddb_on_nmi/kdb_on_nmi/g o Rename sysctl machdep.ddb_on_nmi to machdep.kdb_on_nmi o Make debugging support conditional upon KDB instead of DDB. o Call kdb_reenter() when kdb_active is non-zero. o Call kdb_trap() to enter the debugger when not already active. o Update comments accordingly. o Remove misplaced prototype of kdb_trap().
Notes
Notes: svn path=/head/; revision=131936
Diffstat (limited to 'sys/i386/include')
-rw-r--r--sys/i386/include/frame.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/i386/include/frame.h b/sys/i386/include/frame.h
index efccc20af6e3..391b8749c760 100644
--- a/sys/i386/include/frame.h
+++ b/sys/i386/include/frame.h
@@ -149,8 +149,7 @@ struct clockframe {
int cf_ss;
};
-int kdb_trap(int, int, struct trapframe *);
-
+#define CLOCK_TO_TRAPFRAME(frame) ((struct trapframe *)&(frame)->cf_fs)
#define INTR_TO_TRAPFRAME(frame) ((struct trapframe *)&(frame)->if_fs)
#endif /* _MACHINE_FRAME_H_ */