Re: [PATCH 1/3] KGDB: Major refactoring

From: Ingo Molnar
Date: Thu Feb 07 2008 - 07:14:20 EST



* Jason Wessel <jason.wessel@xxxxxxxxxxxxx> wrote:

> > Could you try something else too perhaps, which would be way useful
> > for me: to add a sysctl flag (or something like that) to change
> > kgdboc to accept a Ctrl-C and break into kgdb mode? [this means a
> > simple Ctrl-C on a kgdboc line would break into KGDB as well - but
> > that would be an acceptable price.] Right now kgdboc just hangs when
> > gdb attaches - i have to generate a SysRq sequence via a terminal
> > emulator to break it into KGDB mode.
>
> FYI, even if you were to hack in a control-c vs sysrq, gdb will still
> hang on connect because it does not issue a break of any kind when it
> connects. It assumes the connection is in a usable state.

sigh. That's quite a usability barrier IMHO.

> The proxy spliter automatically sends the break (or in the current
> case the sysrq g)

any link to the proxy splitter? Googling for "kgdb proxy splitter" did
not yield anything obviously on-topic.

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