Re: Debugging messages (was Re: [URGENT ASSISTANCE REQUESTED] ...)

David S. Miller (davem@dm.cobaltmicro.com)
Mon, 24 Nov 1997 14:46:35 -0800


Date: Mon, 24 Nov 1997 17:57:21 -0500 (EST)
From: Benjamin LaHaise <kernel@kvack.org>

But what can be done when __builtin_return_address doesn't work for
the typical end user? The hack of using ((void **)&first_arg)[-1]
is hardly acceptable accross platforms (or even within inline
functions). Some debugging messages need to be made more thorough
as bug reports are more frequently coming from end-users...

The point is that in this case the kernel did output a legitimate
address and it was not shown in the bug reports.

Later,
David S. Miller
davem@dm.cobaltmicro.com