linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Jason Wessel <jason.wessel@windriver.com>
To: Sergei Shtylyov <sshtylyov@ru.mvista.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 09:45:33 -0500	[thread overview]
Message-ID: <46890F8D.3080807@windriver.com> (raw)
In-Reply-To: <46890A52.6020201@ru.mvista.com>

Sergei Shtylyov wrote:
> 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
>
>    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)
>

I suppose the argument could be made to remove the check in the compiled 
file, but it does serve as a way to protect kgdb for now if someone 
tries to hard compile in xmon and kgdb.  Completely unpredictable 
results will occur with the debugger unless some pieces are fixed.  I 
would rather make sure until that happens there is no way head down the 
rat hole.

That issue aside would it be useful to have xmon+kgdb?  After having 
looked at the hook points for xmon, if a command was added to xmon to 
provide an "detach" it would be easy enough to have kgdb and xmon in the 
same kernel.  Obviously only one or the other can be used at any given time.

Jason.

  reply	other threads:[~2007-07-02 14:45 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       ` 2.6.22-rc6-mm1 Sergei Shtylyov
2007-07-02 14:45         ` Jason Wessel [this message]
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=46890F8D.3080807@windriver.com \
    --to=jason.wessel@windriver.com \
    --cc=akpm@linux-foundation.org \
    --cc=kgdb-bugreport@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=m.kozlowski@tuxland.pl \
    --cc=paulus@samba.org \
    --cc=sshtylyov@ru.mvista.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).