Re: serial GDBServer PPC405 problems

2 messages, 2 authors, 2007-11-02 · open the first message on its own page

Re: serial GDBServer PPC405 problems

From: Wang, Baojun <hidden>
Date: 2007-11-02 01:44:40

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.

Wang

-- 
Wang, Baojun                                        Lanzhou University
Distributed & Embedded System Lab              http://dslab.lzu.edu.cn
School of Information Science and Engeneering        wangbj@lzu.edu.cn
Tianshui South Road 222. Lanzhou 730000                     .P.R.China
Tel:+86-931-8912025                                Fax:+86-931-8912022

Re: serial GDBServer PPC405 problems

From: Grant Likely <hidden>
Date: 2007-11-02 03:01:12

On 11/1/07, Wang, Baojun [off-list ref] wrote:
On Friday 02 November 2007 00:49:16, khollan wrote:
quoted
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@secretlab.ca
(403) 399-0195
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help