Hi All,
I followed these steps to use the ndk-gdb.
I could debug on the Android emulator (or simulator). When I debug on my hardware target, I could attach the Java debug configuration. But I can't attach the C debug configuration. The Eclipse gave this error message:
Target selection failed.
Remote communication error: Software caused connection abort.
Remote communication error: Software caused connection abort.
Remote communication error: Software caused connection abort.
The Console give these error info:
(no debugging symbols found)
91-gdb-set confirm off
91^done
(gdb)
92-gdb-set width 0
92^done
(gdb)
93-gdb-set height 0
93^done
(gdb)
94-interpreter-exec console echo
94^done
(gdb)
95-gdb-show prompt
95^done,value="(gdb) "
(gdb)
96-gdb-set auto-solib-add on
96^done
(gdb)
97-gdb-set stop-on-solib-events 0
97^done
98-gdb-set stop-on-solib-events 1
(gdb)
98^done
(gdb)
99-target-select remote localhost:5039
&"Remote communication error: Software caused connection abort.\n"
99^error,msg="Remote communication error: Software caused connection abort."
(gdb)
100-gdb-exit
100^exit
Remote communication error: Software caused connection abort.
Can someone help me out?
thanks,
Jerry