WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Add debugger_trap_immediate to in-xen-debugger stub.
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Wed, 04 May 2005 10:16:35 +0000
Delivery-date: Thu, 05 May 2005 11:02:33 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Add debugger_trap_immediate to in-xen-debugger stub., BitKeeper Bot <=