ia64/xen-unstable

changeset 16600:d54bcd738247

Revert a chunk of the gdbstub fixup patch.

No need to dump register state when we are bailing into a debugger.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Dec 12 11:42:06 2007 +0000 (2007-12-12)
parents 514d450ad729
children 51c9755a52d5
files xen/arch/x86/traps.c
line diff
     1.1 --- a/xen/arch/x86/traps.c	Wed Dec 12 11:27:15 2007 +0000
     1.2 +++ b/xen/arch/x86/traps.c	Wed Dec 12 11:42:06 2007 +0000
     1.3 @@ -783,8 +783,8 @@ asmlinkage void do_invalid_op(struct cpu
     1.4      predicate = is_kernel(bug_str.str) ? (char *)bug_str.str : "<unknown>";
     1.5      printk("Assertion '%s' failed at %.50s:%d\n",
     1.6             predicate, filename, lineno);
     1.7 +    DEBUGGER_trap_fatal(TRAP_invalid_op, regs);
     1.8      show_execution_state(regs);
     1.9 -    DEBUGGER_trap_fatal(TRAP_invalid_op, regs);
    1.10      panic("Assertion '%s' failed at %.50s:%d\n",
    1.11            predicate, filename, lineno);
    1.12