Jan Kiszka wrote: > KGDB allows to direct the console output also to the gdb frontend. But > if you switch on CONFIG_KGDB_CONSOLE blindly, you end up without a > suitable initial console for init, causing a boot panic (like I faced: > http://lkml.org/lkml/2008/1/14/284). One workaround is to explicitly > provide the first console in the kernel command line. > > This patch implements a less error-prone approach by registering the > console in kgdb_internal_init(). Before that point, it is unusable > anyway due to the debugger not being attached. > > Note that this patch also fully initializes the non-static kgdbcons > struct - not needed if we were able to kill its only external > reference by PXA_CONSOLE (see related posting). If non-static remains > necessary, I can also split up this patch into two. > > Signed-off-by: Jan Kiszka > We can move beyond the RFC and into an official patch. I would agree that the PXA_CONSOLE variable should be changed based on the way the console registration works today. I will drop the pxa.c patches from the arm-lite.patch. If I don't hear any complaints, from the kgdb mailing list I'll commit the patch to the development head branch and the 2.6.24 branch. Thanks, Jason.