[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] System hangs when using GDB
Hello everybody,
I am experiencing some problems when debugging multi-threaded user
applications and I would like to know if you could help me.
I am working with a Xilinx Video Starter Kit (Spartan3A 3400 DSP) and
Petalinux v0.30.
My uClinux system has network support (using ethernet lite, 10Mbps)
and it seems that it works fine. I can ping from my PC to uClinux and
vice versa with no packet loss. I can also do a telnet from the PC to
uClinux and it works as well.
What I am trying to do is to debug the application 'thdm' using the tutorials:
http://developer.petalogix.com/wiki/UserGuide/Debugging/UserApplications
http://developer.petalogix.com/wiki/UserGuide/Debugging/MultiThreaded
When I click 'Run' in GDB, I can see the message 'Remote debugging
from host 192.168.0.2' (my PC's IP) on the console. However, the
debugger does not do anything. It seems that it is 'thinking' but it
gets stuck there.
Moreover, the console does not work anymore. It does not receive my
keystrokes so it does not do anything when I press Ctrl+C.
Do you have any hint about what could be happening? My ethernet
connections seems to be OK so I guess it something related to the
debugger. Could the error appear due to the optimization when
compiling the applications?
Thank you very much for your help in advance.
Kind regards,
Pablo Colodron
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/