[PATCH] [2.6] xmon doesn't compile without CONFIG_MAGIC_SYSRQ

Nathan Lynch nathanl at austin.ibm.com
Tue Jan 20 08:42:26 EST 2004


> There's also a missing dependency from CONFIG_XMON to
> CONFIG_DEBUG_KERNEL, added by attached patch. I'll push it together with
> the other xmon change.

> ===== Kconfig 1.33 vs edited =====
> --- 1.33/arch/ppc64/Kconfig	Tue Dec 16 22:27:52 2003
> +++ edited/Kconfig	Mon Jan 19 14:44:56 2004
> @@ -380,6 +380,7 @@
>
>  config XMON
>  	bool "XMON"
> +	depends on DEBUG_KERNEL
>  	help
>  	  Include in-kernel hooks for the xmon kernel monitor/debugger.
>  	  Unless you are intending to debug the kernel, say N here.

Would you consider the attached patch instead, which I posted a while
back?  Both xmon and kdb should depend on DEBUG_KERNEL.  Additionally,
one should be able to enable DEBUG_KERNEL without having to enable a
debugger.

Thanks,
Nathan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: debugger_optional.patch
Url: http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20040119/9ccddeab/attachment.txt 


More information about the Linuxppc64-dev mailing list