[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4689025C.8000001@windriver.com>
Date: Mon, 02 Jul 2007 08:49:16 -0500
From: Jason Wessel <jason.wessel@...driver.com>
To: Sergei Shtylyov <sshtylyov@...mvista.com>
CC: kgdb-bugreport@...ts.sourceforge.net,
Mariusz Kozlowski <m.kozlowski@...land.pl>,
Andrew Morton <akpm@...ux-foundation.org>, paulus@...ba.org,
linuxppc-dev@...abs.org, linux-kernel@...r.kernel.org
Subject: Re: 2.6.22-rc6-mm1
Sergei Shtylyov wrote:
> Hello.
>
> Mariusz Kozlowski wrote:
>
>
>> allmodconfig on powerpc (iMac g3) fails due to
>> git-kgdb.patch. allmodconfig defaults should be changed?
>>
>
>
>> CC arch/powerpc/kernel/kgdb.o
>> arch/powerpc/kernel/kgdb.c:485:2: error: #error Both XMON and KGDB selected
>> in .config. Unselect one of them.
>> make[1]: *** [arch/powerpc/kernel/kgdb.o] Blad 1
>> make: *** [arch/powerpc/kernel] Blad 2
>>
>
> I'm not sure if this will work out but maybe it's worth to disable XMON if
> KGDB is selected, like this?
>
> config XMON
> bool "Include xmon kernel debugger"
> depends on DEBUGGER && !KGDB
>
>
It did not seem that you can make a radio button / multi-select kernel
config option unless the options are in the same Kconfig file. Given
that xmon and kgdb are mutually exclusive at the moment.
What Sergei mentioned is the fix that needs to be used for the time being.
Attached is the patch I put in the for_mm branch in the linux-2.6-kgdb
git tree.
Jason.
View attachment "xmon_or_kgdb.patch" of type "text/plain" (1533 bytes)
Powered by blists - more mailing lists