Re: [discuss] [PATCH] allow CONFIG_FRAME_POINTER for x86-64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux