* [PATCH] enable CONFIG_KALLSYMS_ALL unconditionally after allnoconfig
@ 2006-05-28 21:12 Olaf Hering
2006-05-29 9:36 ` [PATCH] enable CONFIG_KALLSYMS_ALL unconditionally for xmon " Olaf Hering
0 siblings, 1 reply; 3+ messages in thread
From: Olaf Hering @ 2006-05-28 21:12 UTC (permalink / raw)
To: Andrew Morton, linux-kernel
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 '
grep KALLSYMS ../foo-$$/.config
enabled it along with CONFIG_KALLSYMS, 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>
---
init/Kconfig | 1 +
1 file changed, 1 insertion(+)
Index: linux-2.6/init/Kconfig
===================================================================
--- linux-2.6.orig/init/Kconfig
+++ linux-2.6/init/Kconfig
@@ -276,6 +276,7 @@ config KALLSYMS
config KALLSYMS_ALL
bool "Include all symbols in kallsyms"
depends on DEBUG_KERNEL && KALLSYMS
+ default y
help
Normally kallsyms only contains the symbols of functions, for nicer
OOPS messages. Some debuggers can use kallsyms for other
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] enable CONFIG_KALLSYMS_ALL unconditionally for xmon after allnoconfig
2006-05-28 21:12 [PATCH] enable CONFIG_KALLSYMS_ALL unconditionally after allnoconfig Olaf Hering
@ 2006-05-29 9:36 ` Olaf Hering
2006-05-29 11:11 ` Roman Zippel
0 siblings, 1 reply; 3+ messages in thread
From: Olaf Hering @ 2006-05-29 9:36 UTC (permalink / raw)
To: Andrew Morton, linux-kernel, Paul Mackeras
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] enable CONFIG_KALLSYMS_ALL unconditionally for xmon after allnoconfig
2006-05-29 9:36 ` [PATCH] enable CONFIG_KALLSYMS_ALL unconditionally for xmon " Olaf Hering
@ 2006-05-29 11:11 ` Roman Zippel
0 siblings, 0 replies; 3+ messages in thread
From: Roman Zippel @ 2006-05-29 11:11 UTC (permalink / raw)
To: Olaf Hering; +Cc: Andrew Morton, linux-kernel, Paul Mackeras
Hi,
On Mon, 29 May 2006, Olaf Hering wrote:
> 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.
Unless xmon is completely unusable without CONFIG_KALLSYMS_ALL, I'd rather
leave it optional.
bye, Roman
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-05-29 11:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-28 21:12 [PATCH] enable CONFIG_KALLSYMS_ALL unconditionally after allnoconfig Olaf Hering
2006-05-29 9:36 ` [PATCH] enable CONFIG_KALLSYMS_ALL unconditionally for xmon " Olaf Hering
2006-05-29 11:11 ` Roman Zippel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox