On Fri, 7 May 2004 17:15:32 +1000, Anton Blanchard <[EMAIL PROTECTED]> wrote: > >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.
No, but even without seeing the code, I can state that it will be arch specific. There is no way to find the exception frame in ia64 when starting without registers, the unwind code requires the exception frame just to get started. It is better for the common code to detect the condition of no registers and use KDB_ENTER() instead of a direct call to kdb(). --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
