Skip to contentSkip to conversation

serial GDBServer PPC405 problems

DISCUSSION khollan 2 participants 4 messages Nov 1, 2007 – Nov 6, 2007 1 message not in the archive

lore
Share & tools
lore

khollan

author
#0 lore raw

Hi everyone
I want to thank everyone for 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

Signature · 2 lines
View this message in context: http://www.nabble.com/serial-GDBServer-PPC405--problems-tf4732593.html#a13532592
Sent from the linuxppc-embedded mailing list archive at Nabble.com.

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#2 lore raw
Quoted 10 lines · Baojun

Your kernel don't have kgdb support? then you need a debugger like bdi2000 to
debug the kernel.

Wang

Do I need to add kgdb even if I just want to debug a user application over serial?

Signature · 2 lines
View this message in context: http://www.nabble.com/serial-GDBServer-PPC405--problems-tf4732593.html#a13548781
Sent from the linuxppc-embedded mailing list archive at Nabble.com.
#3 lore raw
Quoted 10 lines · khollan
Quoted 7 lines · Baojun

Your kernel don't have kgdb support? then you need a debugger like bdi2000 to
debug the kernel.

Quoted 5 lines
Quoted 3 lines

Wang

Do I need to add kgdb even if I just want to debug a user application over serial?

No you don't. gdbserver is the right tool.

Signature · 4 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
[email protected]
(403) 399-0195
author
#4 lore raw
Quoted 11 lines · Grant Likely-2 wrote:
Quoted 5 lines

Do I need to add kgdb even if I just want to debug a user application over
serial?

No you don't. gdbserver is the right tool.

So has anyone seen this problem before?

Signature · 2 lines
View this message in context: http://www.nabble.com/serial-GDBServer-PPC405--problems-tf4732593.html#a13610744
Sent from the linuxppc-embedded mailing list archive at Nabble.com.