[lkml]   [1997]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectDebugging messages (was Re: [URGENT ASSISTANCE REQUESTED] ...)
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 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...


 \ /
  Last update: 2005-03-22 13:40    [W:0.040 / U:0.484 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site