serial GDBServer PPC405 problems

Grant Likely grant.likely at secretlab.ca
Fri Nov 2 14:01:10 EST 2007


On 11/1/07, Wang, Baojun <wangbj at lzu.edu.cn> wrote:
> On Friday 02 November 2007 00:49:16, khollan wrote:
> > Hi everyone
> > I want to thank everyone for helping with all of my problems so far, you
> > have been a great help.
> >
> > Im trying to get a debug session with gdbserver over a serial connection on
> > my Xilinx ML410 using a uartlite set at Baud 115200.  When I issue the
> > command on the target "./gdbserver /dev/ttyUL1 test" I get this error:
> > Remote debugging using /dev/ttyUL1
> > readchar: Socet operation on non-socket
> > Remote Side has terminated connection.  GDBserver will reopen connection.
> >
> > This error just repeats until I kill the process.  I know that gdbserver
> > works because debugging over TCP works fine.
> > Thanks for your help
>
> Your kernel don't have kgdb support? then you need a debugger like bdi2000 to
> debug the kernel.

It sounds like he is trying to debug userspace.  Neither kgdb nor the
bdi2000 are the best tool for that.

Khollan; I haven't seen that problem before.  I don't know what could
be the issue there, but I'm not a gdbserver expert either.

Cheers,
g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195


More information about the Linuxppc-embedded mailing list