Re: [PATCH] Additional kgdb hooks

From: George Anzinger
Date: Tue Nov 09 2004 - 18:40:35 EST


Andrew Morton wrote:
dhowells@xxxxxxxxxx wrote:

The attached patch adds a couple of extra hooks by which kgdb or an equivalent
gdbstub can catch bad_page() and panic() invocations.


Tom is valiantly flogging his way through a generic KGDB implementation. I
think it would be better to push ahead with that and to not put into
generic code hooks which are specific to one arch's kgdb implementation.

IMNSHO the trap should be in dump_stack(). That way it catches a bunch of things all at once.

Also, panic has a notify option that kgdb should use just like everybody else.

--
George Anzinger george@xxxxxxxxxx
High-res-timers: http://sourceforge.net/projects/high-res-timers/

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