Re: [KGDB PATCH][5/7] Fix ppc32 hooks.

From: Amit S. Kale
Date: Mon Mar 01 2004 - 07:34:29 EST


Ok to checkin.

-Amit

On Saturday 28 Feb 2004 3:16 am, Tom Rini wrote:
> Hello. The following removes the only PPC32 CHK_DEBUGGER statement,
> as we've always been making kgdb take over the various debugger pointers.
>
> diff -zrupN linux-2.6.3+config+serial/arch/ppc/mm/fault.c
> linux-2.6.3+config+serial+sysrq+arch_hooks/arch/ppc/mm/fault.c ---
> linux-2.6.3+config+serial/arch/ppc/mm/fault.c 2004-02-27 12:16:13.000000000
> -0700 +++
> linux-2.6.3+config+serial+sysrq+arch_hooks/arch/ppc/mm/fault.c 2004-02-27
> 12:16:14.000000000 -0700 @@ -351,13 +351,11 @@ bad_page_fault(struct
> pt_regs *regs, uns
> }
>
> /* kernel has accessed a bad area */
> -#if defined(CONFIG_XMON)
> +#if defined(CONFIG_XMON) || defined(CONFIG_KGDB)
> if (debugger_kernel_faults)
> debugger(regs);
> #endif
>
> - CHK_DEBUGGER(14, sig,0, regs,)
> -
> die("kernel access of bad area", regs, sig);
> }

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/