From: Sergei Shtylyov <sshtylyov@ru•mvista.com>
To: Jason Wessel <jason.wessel@windriver•com>
Cc: kgdb-bugreport@lists•sourceforge.net,
linux-kernel@vger•kernel.org, linuxppc-dev@ozlabs•org,
Mariusz Kozlowski <m.kozlowski@tuxland•pl>,
paulus@samba•org, Andrew Morton <akpm@linux-foundation•org>
Subject: Re: 2.6.22-rc6-mm1
Date: Mon, 02 Jul 2007 18:23:14 +0400 [thread overview]
Message-ID: <46890A52.6020201@ru.mvista.com> (raw)
In-Reply-To: <4689025C.8000001@windriver.com>
Hello.
Jason Wessel 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.
> ------------------------------------------------------------------------
> xmon_or_kgdb.patch
> From: Jason Wessel <jason.wessel@windriver•com>
> Subject: [PATCH] Turn off xmon if kgdb is active on ppc and powerpc
> Xmon and kgdb are mutuall exclusive at the moment so xmon should be
> turned off in the kernel config options if kgdb selected. The case with "make allmodconfig" was failing and this patch addresses the problem.
> Signed-off-by: Jason Wessel <jason.wessel@windriver•com>
> ---
> arch/powerpc/Kconfig.debug | 2 +-
> arch/ppc/Kconfig.debug | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
This patch does not seem complete as the #error that was tiggering has not
been deleleted from arch/powerpc/kernel/kgdb.c (and not it's useless)
WBR, Sergei
next prev parent reply other threads:[~2007-07-02 14:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20070628034321.38c9f12b.akpm@linux-foundation.org>
2007-06-29 12:32 ` 2.6.22-rc6-mm1 Mariusz Kozlowski
2007-06-29 12:54 ` 2.6.22-rc6-mm1 Sergei Shtylyov
2007-07-02 13:49 ` 2.6.22-rc6-mm1 Jason Wessel
2007-07-02 14:23 ` Sergei Shtylyov [this message]
2007-07-02 14:45 ` 2.6.22-rc6-mm1 Jason Wessel
2007-07-02 23:21 ` 2.6.22-rc6-mm1 Paul Mackerras
2007-06-29 20:47 ` 2.6.22-rc6-mm1 Andrew Morton
2007-06-30 8:40 ` 2.6.22-rc6-mm1 Michal Marek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46890A52.6020201@ru.mvista.com \
--to=sshtylyov@ru$(echo .)mvista.com \
--cc=akpm@linux-foundation$(echo .)org \
--cc=jason.wessel@windriver$(echo .)com \
--cc=kgdb-bugreport@lists$(echo .)sourceforge.net \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linuxppc-dev@ozlabs$(echo .)org \
--cc=m.kozlowski@tuxland$(echo .)pl \
--cc=paulus@samba$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox