All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olh@suse.de>
To: Andrew Morton <akpm@osdl.org>,
	linux-kernel@vger.kernel.org, Paul Mackeras <paulus@samba.org>
Subject: [PATCH] enable CONFIG_KALLSYMS_ALL unconditionally for xmon after allnoconfig
Date: Mon, 29 May 2006 11:36:03 +0200	[thread overview]
Message-ID: <20060529093602.GA17819@suse.de> (raw)
In-Reply-To: <20060528211206.GA13458@suse.de>


CONFIG_KALLSYMS_ALL is disabled after these commands:

rm -rf ../foo-$$
mkdir ../foo-$$
make -j ARCH=powerpc O=../foo-$$ allnoconfig  > /dev/null 
grep KALLSYMS ../foo-$$/.config
make -j ARCH=powerpc O=../foo-$$ menuconfig
 # 'Kernel hacking  ---> ' , enable 'Kernel debugging ' + 'Enable debugger hooks' + 'Include xmon kernel debugger'
grep KALLSYMS ../foo-$$/.config

enable CONFIG_KALLSYMS_ALL, because CONFIG_KALLSYMS is not selectable per default
xmon can not lookup all symbols without CONFIG_KALLSYMS_ALL,
'ls log_buf' will not work as example.

Signed-off-by: Olaf Hering <olh@suse.de>

---
 arch/powerpc/Kconfig.debug |    1 +
 1 file changed, 1 insertion(+)

Index: linux-2.6/arch/powerpc/Kconfig.debug
===================================================================
--- linux-2.6.orig/arch/powerpc/Kconfig.debug
+++ linux-2.6/arch/powerpc/Kconfig.debug
@@ -64,6 +64,7 @@ config KGDB_CONSOLE
 config XMON
 	bool "Include xmon kernel debugger"
 	depends on DEBUGGER && !PPC_ISERIES
+	select KALLSYMS_ALL
 	help
 	  Include in-kernel hooks for the xmon kernel monitor/debugger.
 	  Unless you are intending to debug the kernel, say N here.

  reply	other threads:[~2006-05-29  9:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-28 21:12 [PATCH] enable CONFIG_KALLSYMS_ALL unconditionally after allnoconfig Olaf Hering
2006-05-29  9:36 ` Olaf Hering [this message]
2006-05-29 11:11   ` [PATCH] enable CONFIG_KALLSYMS_ALL unconditionally for xmon " Roman Zippel

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=20060529093602.GA17819@suse.de \
    --to=olh@suse.de \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulus@samba.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.