Skip to contentSkip to conversation

serial GDBServer PPC405 problems

DISCUSSION Wang, Baojun 2 participants 2 messages Nov 2, 2007 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

On Friday 02 November 2007 00:49:16, khollan wrote:

Quoted 11 lines

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.

Quoted 3 lines

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

Signature · 5 lines
Wang, Baojun                                        Lanzhou University
Distributed & Embedded System Lab              http://dslab.lzu.edu.cn
School of Information Science and Engeneering        [email protected]
Tianshui South Road 222. Lanzhou 730000                     .P.R.China
Tel:+86-931-8912025                                Fax:+86-931-8912022
#2 lore raw
Quoted 12 lines · Baojun

On Friday 02 November 2007 00:49:16, khollan wrote:

Quoted 11 lines

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.

Quoted 6 lines
Quoted 3 lines

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.

Signature · 4 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
[email protected]
(403) 399-0195