On Tue, 18 Aug 2009, Matthias Kaehlcke wrote:
> El Tue, Aug 18, 2009 at 05:19:37AM -0400 Robert P. J. Day ha dit:
>
> > On Tue, 18 Aug 2009, Matthias Kaehlcke wrote:
> >
> > ... snip ...
> >
> > > some time ago i had a similar (the same?) problem, trying to debug
> > > an ARM device using kgdb. in my case the problem was that the serial
> > > port driver (AMBA PL010) lacked the poll_get_char() and
> > > poll_put_char() operations, which seem to be necessary for debugging
> > > over console.
> > >
> > > if you happen to use a device with AMBA PL010 try again after
> > > applying the patch below. otherwise you might want to check if the
> > > driver of your serial port implements the poll functions
> > >
> > > diff --git a/drivers/serial/amba-pl010.c b/drivers/serial/amba-pl010.c
> > > index 58a4879..4b27537 100644
> > > --- a/drivers/serial/amba-pl010.c
> > > +++ b/drivers/serial/amba-pl010.c
> > > @@ -308,6 +308,32 @@ static void pl010_break_ctl(struct uart_port *port,
> > > int break_state)
> > > spin_unlock_irqrestore(&uap->port.lock, flags);
> >
> > perhaps a dumb question, but where is that source file? it's not in
> > the current linux git tree.
>
> are you sure?
never mind, my fault. just being dense this morning.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Annoying Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ