Re: [PATCH] generic show_stack facility

From: David Mosberger (davidm@napali.hpl.hp.com)
Date: Fri Mar 29 2002 - 13:26:34 EST


>>>>> On Fri, 29 Mar 2002 09:36:26 -0800, Andrew Morton <akpm@zip.com.au> said:

  Andrew> The way I ended up resolving these sorts of issues was to
  Andrew> make the generic function

  Andrew> void dump_stack(void);

  Andrew> under the (hopefully valid) assumption that all
  Andrew> architectures can somehow, in some manner, manage to spit
  Andrew> out something useful.

  Andrew> For a transitional/compatibility think, there's
  Andrew> lib/dump_stack.c which just prints "I'm broken".

  Andrew> Here's the diff. Comments?

Looks good to me.

Thanks,

        --david
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Mar 31 2002 - 22:00:18 EST