diff options
author | cl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk> | 2005-05-04 10:16:35 +0000 |
---|---|---|
committer | cl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk> | 2005-05-04 10:16:35 +0000 |
commit | 70d8d1004d56e1b94eaa8742cd136d51ae4bd697 (patch) | |
tree | 9e60c31c8f19ab4c203f9a603457a7388a41ab2d /xen/include/asm-x86/debugger.h | |
parent | 3af1f7f3dee19f241a24175e177f30a53af61534 (diff) | |
download | xen-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.h | 3 |
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) |