[lkml]   [2000]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: kernel compiled with frame pointer

Hi Keith,
Thanks for the useful information.

> >What about CONFIG_KDB_FRAMEPTR? Is it correct to use this in a standard
> >kernel to find whether the kernel is being compiled with frame pointer?
> I don't know which kernel you are looking at. CONFIG_KDB_FRAMEPTR is
> part of an old kdb patch, not part of the standard kernel. It has been
> removed from current kdb patches, kdb patches after May 9 2000 use

I saw CONFIG_KDB_FRAMEPTR being used in the LKCD patch for 2.4.0-test7
(arch/i386/kernel/vmdump.c). If I am correct then it is used there to find
out if the kernel is being compiled with frame pointer (inorder to get the
correct offset of the return address). I think CONFIG_FRAME_POINTER should
be used instead.


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

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