Re: [PATCH] generic show_stack facility

David Mosberger (davidm@napali.hpl.hp.com)
Fri, 29 Mar 2002 10:26:34 -0800


>>>>> 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/