aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/debugger.h
diff options
context:
space:
mode:
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>2005-05-04 10:16:35 +0000
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>2005-05-04 10:16:35 +0000
commit70d8d1004d56e1b94eaa8742cd136d51ae4bd697 (patch)
tree9e60c31c8f19ab4c203f9a603457a7388a41ab2d /xen/include/asm-x86/debugger.h
parent3af1f7f3dee19f241a24175e177f30a53af61534 (diff)
downloadxen-70d8d1004d56e1b94eaa8742cd136d51ae4bd697.tar.gz
xen-70d8d1004d56e1b94eaa8742cd136d51ae4bd697.tar.bz2
xen-70d8d1004d56e1b94eaa8742cd136d51ae4bd697.zip
bitkeeper revision 1.1389.5.8 (4278a1034rHdLS-yTnpszKhLLp4oGw)
Add debugger_trap_immediate to in-xen-debugger stub. Signed-off-by: Christian Limpach <Christian Limpach@cl.cam.ac.uk>
Diffstat (limited to 'xen/include/asm-x86/debugger.h')
-rw-r--r--xen/include/asm-x86/debugger.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/include/asm-x86/debugger.h b/xen/include/asm-x86/debugger.h
index 5b7af3badc..0d6221a25e 100644
--- a/xen/include/asm-x86/debugger.h
+++ b/xen/include/asm-x86/debugger.h
@@ -97,6 +97,9 @@ static inline int debugger_trap_fatal(
return kdb_trap(vector, 0, regs);
}
+/* Int3 is a trivial way to gather cpu_user_regs context. */
+#define debugger_trap_immediate() __asm__ __volatile__ ( "int3" );
+
#else
#define debugger_trap_entry(_v, _r) (0)