Hi again, the problem involve from the spawn command. it seems that it expect.exe can not spawn process that been compiled by windows tools and not a cygwin. i tried a little test on a while (1) loop that been compiled with gcc and then spawn it - Ok, but when compiled it with window tool (Visual c++) - it got hang. my version og gdb been compiled with windows- and this is the problem. i'm trying to find expect.exe for windows but i onlt find the sources. if any one know from where i can get expect.exe for windows it will be great. any way; thanks you all Noam.
Baurzhan Ismagulov wrote: > > On Thu, Aug 16, 2007 at 12:10:27AM -0700, noam_a wrote: >> but now the package get stack at remote_spawn proc (at >> dejagnu/remote.exp) >> at the line: >> >> set result [catch "spawn $commandline" pid]; > ... >> please, any one can explain why it get stack? > > I would try "strace -f -e trace=execve ...", where "..." is how you > start your tests ("make check", or "runtest", or whatever). You have > probably set up remote testing and it hangs connecting somewhere. > > >> i'm not so familier with expect/tcl and i cant understand what is the >> problem > > Neither am I. My understanding is, gdb testsuite is written in tcl and > uses dejagnu functions. Dejagnu is written in tcl and uses expect > functions. Expect is a binary library for tcl. Tcl is a binary > interpreter. > > If I have a problem with gdb testsuite or dejagnu, I "runtest -v -v -v". > If this doesn't help, I put more "verbose" statements in the code. This > is usually enough to find out the statement causing the problem. The > next question is, where to look for the docs. For dejagnu, it's the best > to read the source. Then, "man expect". Then, browse http://tcl.tk/ . If > this doesn't help, strace to taste (often, dumping the whole environment > is helpful). Otherwise, debug tcl (never done that myself). > > > With kind regards, > -- > Baurzhan Ismagulov > http://www.kz-easy.com/ > > > _______________________________________________ > DejaGnu mailing list > DejaGnu@gnu.org > http://lists.gnu.org/mailman/listinfo/dejagnu > > -- View this message in context: http://www.nabble.com/dejagnu-get-hang-at-remote.exp-%28remote_spawn-proc%29-tf4277912.html#a12219469 Sent from the Gnu - Dejagnu - General mailing list archive at Nabble.com. _______________________________________________ DejaGnu mailing list DejaGnu@gnu.org http://lists.gnu.org/mailman/listinfo/dejagnu