[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <39657.64.39.138.238.1286420910.squirrel@xenotime.net>
Date: Wed, 6 Oct 2010 20:08:30 -0700 (PDT)
From: "Randy Dunlap" <rdunlap@...otime.net>
To: "Elvis Dowson" <elvis.dowson@....com>
Cc: "Randy Dunlap" <rdunlap@...otime.net>,
"Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>
Subject: Re: Kernel config option missing: 'Compile the kernel with frame
pointers'
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists