lkml.org 
[lkml]   [2007]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 21/21] KGDB: Turn off xmon if kgdb is active on ppc and powerpc
    Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
    xmon_or_kgdb.patch

    From: Jason Wessel <jason.wessel@windriver.com>
    CC: paulus@samba.org
    Subject: [PATCH] Turn off xmon if kgdb is active on ppc and powerpc

    Xmon and kgdb are mutually 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.

    This will be fixed at a later point so as to allow either Xmon or kgdb
    to be in the same kernel.

    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(-)

    Index: linux-2.6-kgdb/arch/powerpc/Kconfig.debug
    ===================================================================
    --- linux-2.6-kgdb.orig/arch/powerpc/Kconfig.debug
    +++ linux-2.6-kgdb/arch/powerpc/Kconfig.debug
    @@ -43,7 +43,7 @@ config HCALL_STATS

    config XMON
    bool "Include xmon kernel debugger"
    - depends on DEBUG_KERNEL
    + depends on DEBUG_KERNEL && !KGDB
    help
    Include in-kernel hooks for the xmon kernel monitor/debugger.
    Unless you are intending to debug the kernel, say N here.
    Index: linux-2.6-kgdb/arch/ppc/Kconfig.debug
    ===================================================================
    --- linux-2.6-kgdb.orig/arch/ppc/Kconfig.debug
    +++ linux-2.6-kgdb/arch/ppc/Kconfig.debug
    @@ -4,7 +4,7 @@ source "lib/Kconfig.debug"

    config XMON
    bool "Include xmon kernel debugger"
    - depends on DEBUG_KERNEL
    + depends on DEBUG_KERNEL && !KGDB
    help
    Include in-kernel hooks for the xmon kernel monitor/debugger.
    Unless you are intending to debug the kernel, say N here.
    \
     
     \ /
      Last update: 2007-10-15 20:49    [W:0.023 / U:0.360 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site