On Fri, 2006-02-10 at 17:24 +0530, Srinivas Kandagatla wrote: > Hi all, > I found the workaround for this problem. > I want to share this with all of those who encountered this problem. > > Just comment the below code in remote-utils.c > > #if defined(F_SETFL) && defined (FASYNC) > save_fcntl_flags = fcntl (remote_desc, F_GETFL, 0); > save_fcntl_flags |= FASYNC; > #if defined(O_ASYNC) > save_fcntl_flags |= O_ASYNC; > #endif > fcntl (remote_desc, F_SETFL, save_fcntl_flags); > ioctl (remote_desc, FIOASYNC, &enable_async); > disable_async_io (); > #endif /* FASYNC * > > It works.. ....
Could you send a patch to [email protected], please? It's difficult to tell exactly what you changed here... > > Happy debugging .... > Regards > Srinivas.Kandagatla > Sr. Software Engineer. > CISC India. > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Srinivas > Kandagatla > Sent: Friday, February 10, 2006 8:58 AM > To: [email protected] > Subject: [ECOS] multi-ice-gdb-server - ReadChar Problem.. > > > Hi All, > Recently I have downloaded multi-ice-gdb-server and managed to compile and > run according to the instructions in > http://ecos.sourceware.org/multi-ice.html after running the below command I > get the errors as shown. > The multi-ice-gdb-server is failing at readchar function. > > ##"C:\Program Files\ARM\Multi-ICE\multi-ice-gdb-server.exe" > --remote-port 9000 --byte-sex l --config-dialog > > GNU Multi-ICE GDB server 1.0 > > > Connected to the Multi-Ice target. > > Targeted ARM core: ARM9 0 > > Target characteristics: > Hardware?: YES > Comms Channel?: YES > Endian-ness: LITTLE > Single-Step Support: NO > Load Size: 32768 > Custom Load?: NO > > No other modules found on debug target. > > GDB Server starting on port 9000 > > Got a connection from localhost > > Not a good vector or eCos not running! > > putpkt(read): Resource temporarily unavailable > > readchar: Resource temporarily unavailable > > > > I Think many people have faced the similar problem. I searched mailing list, > could not get any solution to this. > Does this problem have any workarounds or solutions or suggestions or some > specific version of CYGWIN to be installed..... > Pl let me know.. > > I am also working on this .... > > > Regards > Srinivas.Kandagatla > Sr. Software Engineer. > CISC India. > > > > -- > Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos > and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss > -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
