From: Keir Fraser Subject: Re: [PATCH][XEN] __trap_to_gdb should return something different Date: Mon, 25 Sep 2006 15:43:25 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jimi Xenidis Cc: xen-devel@lists.xensource.com, xen-ppc-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 25/9/06 15:09, "Jimi Xenidis" 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