Module Name: src
Committed By: christos
Date: Sat Apr 30 16:58:35 UTC 2011
Modified Files:
src/sys/arch/x86/include: db_machdep.h
Log Message:
add a define for pcb_sp
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x86/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/x86/include/db_machdep.h
diff -u src/sys/arch/x86/include/db_machdep.h:1.2 src/sys/arch/x86/include/db_machdep.h:1.3
--- src/sys/arch/x86/include/db_machdep.h:1.2 Sun Apr 10 16:38:37 2011
+++ src/sys/arch/x86/include/db_machdep.h Sat Apr 30 12:58:35 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: db_machdep.h,v 1.2 2011/04/10 20:38:37 christos Exp $ */
+/* $NetBSD: db_machdep.h,v 1.3 2011/04/30 16:58:35 christos Exp $ */
#ifndef _X86_DB_MACHDEP_H_
#define _X86_DB_MACHDEP_H_
@@ -21,12 +21,14 @@
#define tf_ip tf_rip
#define tf_bp tf_rbp
#define pcb_bp pcb_rbp
+#define pcb_sp pcb_rsp
#define x86_frame x86_64_frame
#else
#define tf_sp tf_esp
#define tf_ip tf_eip
#define tf_bp tf_ebp
#define pcb_bp pcb_ebp
+#define pcb_sp pcb_esp
#define x86_frame i386_frame
#endif