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

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


On Mon, 24 Nov 1997, David S. Miller wrote:
...
> step 1) Write "magic number" down on piece of paper.
> step 2) When machine comes back up, look in System.map file
> for addresses in "vacinity" of the magic number.
> step 3) Report the symbol names in that spot to here.

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

-ben