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] [xen-unstable] [IA64] make ia64 dump_execution_state() p

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] make ia64 dump_execution_state() print stack trace for debugging.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 01 Dec 2008 03:50:40 -0800
Delivery-date: Mon, 01 Dec 2008 03:54:00 -0800
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1225941246 -32400
# Node ID 958942c443329a6ea27665c1026040213cbfd991
# Parent  57c94bdbd6b3cd9246d108251c60f5ac9237ae02
[IA64] make ia64 dump_execution_state() print stack trace for debugging.

make ia64 dump_execution_state() print stack trace for debugging.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 xen/include/asm-ia64/bug.h |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletion(-)

diff -r 57c94bdbd6b3 -r 958942c44332 xen/include/asm-ia64/bug.h
--- a/xen/include/asm-ia64/bug.h        Tue Nov 04 14:35:24 2008 +0900
+++ b/xen/include/asm-ia64/bug.h        Thu Nov 06 12:14:06 2008 +0900
@@ -4,7 +4,12 @@
 #define BUG() __bug(__FILE__, __LINE__)
 #define WARN() __warn(__FILE__, __LINE__)
 
-#define dump_execution_state() printk("FIXME: implement ia64 
dump_execution_state()\n")
+#define dump_execution_state()                                      \
+    do {                                                            \
+        printk("FIXME: implement ia64 dump_execution_state()\n");      \
+        dump_stack();                                               \
+    } while (0)
+
 #define vcpu_show_execution_state(v) printk("FIXME: implement ia64 
vcpu_show_execution_state()\n")
 
 #endif /* __IA64_BUG_H__ */

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] make ia64 dump_execution_state() print stack trace for debugging., Xen patchbot-unstable <=