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

[Xen-changelog] [xen-unstable] [IA64] make ia64 dump_execution_state() print stack trace for debugging.



# 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


 


Rackspace

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