ia64/xen-unstable

annotate xen/include/asm-ia64/bug.h @ 18760:958942c44332

[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@valinux.co.jp>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Thu Nov 06 12:14:06 2008 +0900 (2008-11-06)
parents 6b1795ee1b19
children
rev   line source
kfraser@14021 1 #ifndef __IA64_BUG_H__
kfraser@14021 2 #define __IA64_BUG_H__
kfraser@14021 3
kfraser@14021 4 #define BUG() __bug(__FILE__, __LINE__)
kfraser@14590 5 #define WARN() __warn(__FILE__, __LINE__)
kfraser@14021 6
yamahata@18760 7 #define dump_execution_state() \
yamahata@18760 8 do { \
yamahata@18760 9 printk("FIXME: implement ia64 dump_execution_state()\n"); \
yamahata@18760 10 dump_stack(); \
yamahata@18760 11 } while (0)
yamahata@18760 12
keir@17848 13 #define vcpu_show_execution_state(v) printk("FIXME: implement ia64 vcpu_show_execution_state()\n")
keir@17839 14
kfraser@14021 15 #endif /* __IA64_BUG_H__ */