WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH][XEN] __trap_to_gdb should return something diffe

To: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][XEN] __trap_to_gdb should return something different
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 25 Sep 2006 15:43:25 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 25 Sep 2006 07:42:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C53293CD-195B-4360-9589-85DABD3013B7@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbgsPSlMwzYQkykEdu+jgAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH][XEN] __trap_to_gdb should return something different
User-agent: Microsoft-Entourage/11.2.5.060620
On 25/9/06 15:09, "Jimi Xenidis" <jimix@xxxxxxxxxxxxxx> wrote:

> Here is the code that cares:
> 
> #ifdef CRASH_DEBUG
>      if (__trap_to_gdb(regs, cookie) == 0)
>          return;
> #endif /* CRASH_DEBUG */
> 
>      printk("%s: type: 0x%lx\n", __func__, cookie);
>      show_backtrace_regs(regs);
>      machine_halt();
> 
> NOTE: we will revisit the call to machine_halt() later, we can't use
> panic() because right now we'll end up back in this fuction.

Yeah, ok this is quite reasonable.

 -- Keir



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