Messages in this thread | | | Date | Thu, 4 Mar 2004 14:01:48 +0100 | From | Andi Kleen <> | Subject | Re: kgdb support in vanilla 2.6.2 |
| |
On Wed, 3 Mar 2004 21:18:50 -0800 Andrew Morton <akpm@osdl.org> wrote:
> "Amit S. Kale" <amitkale@emsyssoft.com> wrote: > > > > Flashing keyboard lights is easy on x86 and x86_64 platforms. > > Please, no keyboards. Some people want to be able to use kgdboe > to find out why machine number 324 down the corridor just died.
Not as the only indication I agree. But for machines running X that are actually used by people I think it's important to always give some kind of visual feedback when the X server freezes. And kgdb will make the X server freeze. You could actually make it a notifier list to register severals ways to do this, e.g. the cluster people could add something that makes it flash a warning light. For a standard box I think flashing the keyboard is a good default for now
(ok there are USB keyboards too, for those there will need to be a different solution)
> > char *why_i_crashed; > > > { > ... > if (expr1) > why_i_crashed = "hit a BUG"; > else if (expr2) > why_i_crashed = "divide by zero"; > else ... > } > > then provide a gdb macro which prints out the string at *why_i_crashed?
That doesn't tell the user at all why his X server just froze. But it may be a good addition.
-Andi
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |