lkml.org 
[lkml]   [2005]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [discuss] [PATCH] allow CONFIG_FRAME_POINTER for x86-64
On Fri, 9 Sep 2005, Andi Kleen wrote:
>
> It won't give more accurate backtraces, not even on i386 because show_stack
> doesn't have any code to follow frame pointers.

Ah, right. I'm using kdb with it. (And my recollection of when
show_stack did have a framepointer version, is that it was hopelessly
broken on interrupt frames, and we're much better off without it.)

> The only reason to use them would be external debuggers, but those
> don't need them on x86-64 neither.

Don't need them, but find them as useful on x86_64 as on i386?

Certainly, I can go on patching in FRAME_POINTERs for x86_64
as I have done, no problem with that. But it seems both bogus
and unhelpful to have that "&& !X86_64" in lib/Kconfig.debug -
framepointers are as helpful/useless on x86_64 as the rest.

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

\
 
 \ /
  Last update: 2005-09-09 13:17    [W:0.074 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site