This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: multi-ice-gdb-server - ReadChar Problem..
- From: "Srinivas Kandagatla" <srinivas at cisctechnology dot com>
- To: "Srinivas Kandagatla" <srinivas at cisctechnology dot com>, <gdb at sourceware dot org>
- Date: Fri, 10 Feb 2006 17:25:53 +0530
- Subject: RE: multi-ice-gdb-server - ReadChar Problem..
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.. ....
Happy debugging ....
Regards
Srinivas.Kandagatla
Sr. Software Engineer.
CISC India.
-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf Of
Srinivas Kandagatla
Sent: Friday, February 10, 2006 12:06 PM
To: gdb@sourceware.org
Subject: 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.