Re: Kernel config option missing: 'Compile the kernel with frame pointers'

From: Randy Dunlap
Date: Wed Oct 06 2010 - 23:08:45 EST



On Wed, October 6, 2010 2:00 pm, Elvis Dowson wrote:
> Hi Randy,
>
>
> On Oct 7, 2010, at 12:53 AM, Randy Dunlap wrote:
>
>>
>> It sounds like you don't have DEBUG_KERNEL symbol set.
>> You can't see the FRAME_POINTER kconfig symbol unless
>> DEBUG_KERNEL is set/enabled and you are on a qualifying
>> architecture:
>>
>>
>> config FRAME_POINTER bool "Compile the kernel with frame pointers"
>> depends on DEBUG_KERNEL && \ (CRIS || M68K || M68KNOMMU || FRV || UML ||
>> \
>> AVR32 || SUPERH || BLACKFIN || MN10300) || \
>> ARCH_WANT_FRAME_POINTERS
>> default y if (DEBUG_INFO && UML) || ARCH_WANT_FRAME_POINTERS
>>
>>
>> The prompt for DEBUG_KERNEL is "Kernel debugging".
>> It is in the "Kernel hacking" menu.
>>
>
> I have CONFIG_DEBUG_KERNEL=y set. I'm compiling for the ARM architecture
> (TI OMAP 3503). So I guess it doesn't apply for ARM?

That's correct AFAICT.
ARM does not set (select) ARCH_WANT_FRAME_POINTERS.


> I want to debug the kernel using Eclipse IDE and kgdb.



--
~Randy

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/