kdb
[Top] [All Lists]

Re: [PATCH] fix KDB backtrace for ppc64

To: Ananth N Mavinakayanahalli <ananth@xxxxxxxxxx>
Subject: Re: [PATCH] fix KDB backtrace for ppc64
From: Anton Blanchard <anton@xxxxxxxxx>
Date: Fri, 7 May 2004 17:15:32 +1000
Cc: kdb@xxxxxxxxxxx, linuxppc64-dev@xxxxxxxxxxxxxxxxxx, linas@xxxxxxxxxxxxxx
In-reply-to: <20040505141647.GA4678@xxxxxxxxxx>
References: <20040505141647.GA4678@xxxxxxxxxx>
Sender: kdb-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.5.1+cvs20040105i
Hi Ananth,

> Here is a patch that fixes backtracing in KDB for ppc64. We were not 
> handling the link register and were missing an intermediate call 
> during bt.

Have you seen Pauls changes to arch/ppc64/kernel/process.c:show_stack in
ameslab-2.5? It uses a trick to find exception frames and dump them
correctly. I think it would be good to get the same magic into kdb.

Anton
---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
<Prev in Thread] Current Thread [Next in Thread>