[lkml]   [2002]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] generic show_stack facility
>>>>> On Fri, 29 Mar 2002 17:16:23 GMT, said:

>> BTW: this is not at all an ia64-specific issue. It applies to
>> any arch that doesn't maintain a frame pointer on the stack.
>> Basic compiler technology.

Arjan> oh you mean like x86 ?

As far as I know, the x86 version of show_trace() still relies on the
fact that (a) return addresses are stored on the memory stack, (b)
they are stored in the order in which the routines were called, and
(c) that there aren't too many other values on the stack that look
like kernel text addresses. As long as an x86 compiler uses the CALL
instruction, that should be the case. But this certainly isn't the
case for all architectures (though I do agree that it is a heuristic
should work reasonably well for several architectures).

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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