lkml.org 
[lkml]   [2004]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Kgdb-bugreport] [PATCH] Kill kgdb_serial
On Tue, Mar 02, 2004 at 04:00:18PM -0700, Tom Rini wrote:
> On Tue, Mar 02, 2004 at 11:31:43PM +0100, Pavel Machek wrote:
>
> > Hi!
> >
> > > > Tom Rini wrote:
> > > > >Hello. The following interdiff kills kgdb_serial in favor of function
> > > > >names. This only adds a weak function for kgdb_flush_io, and documents
> > > > >when it would need to be provided.
> > > >
> > > > It looks like you are also dumping any notion of building a kernel that can
> > > > choose which method of communication to use for kgdb at run time. Is this
> > > > so?
> > >
> > > Yes, as this is how Andrew suggested we do it. It becomes quite ugly if
> > > you try and allow for any 2 of 3 methods.
> >
> > I do not think that having kgdb_serial is so ugly. Are there any other
> > uglyness associated with that?
>
> More precisely:
> http://lkml.org/lkml/2004/2/11/224

I think it's a step in the wrong direction. I'd like to be able to
compile all my kernels with support for all the debugging
functionality I _might_ find myself needing. I'd generally prefer to
use kgdboe, but if I have to fall back to using serial for some early
boot issue or network issue and have to recompile on top of that, I'll
be annoyed.

I'd rather see everything be run-time. Ideally, serial kgdb would be
smart enough to read command line args to know whether to grab ports
and so on and need essentially no compile time config.

--
Matt Mackall : http://www.selenic.com : Linux development and consulting
-
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/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.107 / U:1.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site