ia64/xen-unstable

changeset 5189:7d0a21c7ba33

bitkeeper revision 1.1580 (429833a4G8EJ0jx6AoXE77WbZwwrQQ)

Debug build dumps guest state to emergency console if it crashes.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Sat May 28 09:02:28 2005 +0000 (2005-05-28)
parents f5f2c67044b5
children ef94e64d3896
files xen/common/domain.c
line diff
     1.1 --- a/xen/common/domain.c	Sat May 28 08:54:28 2005 +0000
     1.2 +++ b/xen/common/domain.c	Sat May 28 09:02:28 2005 +0000
     1.3 @@ -130,6 +130,10 @@ void domain_crash(void)
     1.4          panic("Domain 0 crashed!\n");
     1.5      }
     1.6  
     1.7 +#ifndef NDEBUG
     1.8 +    show_registers(guest_cpu_user_regs());
     1.9 +#endif
    1.10 +
    1.11      set_bit(_DOMF_crashed, &d->domain_flags);
    1.12  
    1.13      send_guest_virq(dom0->exec_domain[0], VIRQ_DOM_EXC);