OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Gdb Stuck Over Nfs, gdb stuck over NFS mount
boaz
post 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
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
iamasmith
post 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 tongue.gif]).

-Andy
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 25th December 2014 - 02:05 PM