direct-io.hg
changeset 4758:f0d5219e295c
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>
Add debugger_trap_immediate to in-xen-debugger stub.
Signed-off-by: Christian Limpach <Christian Limpach@cl.cam.ac.uk>
author | cl349@firebug.cl.cam.ac.uk |
---|---|
date | Wed May 04 10:16:35 2005 +0000 (2005-05-04) |
parents | 2529059abc03 |
children | 71f9c2f7030e |
files | xen/include/asm-x86/debugger.h |
line diff
1.1 --- a/xen/include/asm-x86/debugger.h Wed May 04 10:15:01 2005 +0000 1.2 +++ b/xen/include/asm-x86/debugger.h Wed May 04 10:16:35 2005 +0000 1.3 @@ -97,6 +97,9 @@ static inline int debugger_trap_fatal( 1.4 return kdb_trap(vector, 0, regs); 1.5 } 1.6 1.7 +/* Int3 is a trivial way to gather cpu_user_regs context. */ 1.8 +#define debugger_trap_immediate() __asm__ __volatile__ ( "int3" ); 1.9 + 1.10 #else 1.11 1.12 #define debugger_trap_entry(_v, _r) (0)