[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Add debugger_trap_immediate to in-xen-debugger stub.



ChangeSet 1.1431, 2005/05/04 11:16:35+01:00, cl349@xxxxxxxxxxxxxxxxxxxx

        Add debugger_trap_immediate to in-xen-debugger stub.
        Signed-off-by: Christian Limpach <Christian Limpach@xxxxxxxxxxxx>



 debugger.h |    3 +++
 1 files changed, 3 insertions(+)


diff -Nru a/xen/include/asm-x86/debugger.h b/xen/include/asm-x86/debugger.h
--- a/xen/include/asm-x86/debugger.h    2005-05-05 07:03:04 -04:00
+++ b/xen/include/asm-x86/debugger.h    2005-05-05 07:03:04 -04:00
@@ -97,6 +97,9 @@
     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)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.