[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 <[EMAIL PROTECTED]>

diff --git a/xen/include/asm-ia64/bug.h b/xen/include/asm-ia64/bug.h
--- a/xen/include/asm-ia64/bug.h
+++ b/xen/include/asm-ia64/bug.h
@@ -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__ */


-- 
yamahata

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@lists.xensource.com
http://lists.xensource.com/xen-ia64-devel

Reply via email to