Re: [PATCH][5/6] A different KGDB stub

From: Matt Porter
Date: Wed Feb 11 2004 - 20:39:10 EST


On Wed, Feb 11, 2004 at 05:03:55PM -0700, Tom Rini wrote:
> The following is the ppc32-specific bits to this KGDB stub.

<snip>
> - /* We are dorking with a live trap table, all irqs off */
> -}
> + unsigned int tt; /* Trap type code for powerpc */
> + unsigned char signo; /* Signal that we map this trap into */
> +} hard_trap_info[] = {
> +#if defined(CONFIG_40x)
> + { 0x0100, 0x02 /* SIGINT */ }, /* critical input interrupt */
> + { 0x0200, 0x0b /* SIGSEGV */ }, /* machine check */
> + { 0x0300, 0x0b /* SIGSEGV */ }, /* data storage */

This table should be at least CONFIG_4xx and probably
(CONFIG_4xx || CONFIG_BOOKE) if/when e500 support comes
into 2.6.

-Matt
-
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/