Mar 2 2006, 07:23 AM
Post
#1
|
|
|
Group: Members Posts: 2 Joined: 2-March 06 From: Israel Tel-Aviv Member No.: 9,266 |
I try to run gdb on an application and source code that reside on a mounted NFS folder. The machine gets completely stuck. only a cold (remove the battery) reset out.
I 'm working on a Sharp Zaurus C3100 stock English installation. I use the gcc 3.4.4 cross-compiler package from handheld.org including the gdb. I'm connected using a CF LAN card. (NFS works fine but for the problem above) [Q] has anyone attempted an across-nfs debugging before. On any machine? on a Zaurus? (Why does it get stuck so bad?) and while at it. How to cross debug from a PC on an embedded Linux like the Zaurus? any GUI debugger? Thanks! Free life Boaz Harrosh |
|
|
|
![]() |
Mar 2 2006, 07:35 AM
Post
#2
|
|
![]() Group: Members Posts: 1,248 Joined: 6-July 04 Member No.: 3,928 |
I have done this several times and it never got stuck for me.. check dmesg and see if you are getting any errors on the NFS mount.. I have done it with Cacko ROM, PDAXROM and OpenBSD without a problem.
As far as I know you can't cross debug but you can use gdbserver to handle debugging on the Zaurus and control the debug session either from gdb or gdbtui (the ncurses flavour of gdb [as close to a gui as I know for gdb -Andy |
|
|
|
boaz Gdb Stuck Over Nfs Mar 2 2006, 07:23 AM
boaz Thanks for the prompt reply!
I have checked d... Mar 2 2006, 09:38 AM![]() ![]() |
|
Lo-Fi Version | Time is now: 25th May 2013 - 08:43 AM |