I would love to debug my software with ECLIPSE as front end to GDB. Our build set up as follows.
I do not have an option to change my build environment, its too much of effort, moreover Cygwin is too slow compared to Linux.
The only way I can access the server is with ssh. The server has only basic X-Window manager, so VNC is not an option.
Is there any way I can make use of ECLIPSE as an IDE rather than as editor ? I am mainly interested in utilizing its remote DEBUGGING feature.
EDIT
ERROR establishing communication
TARGET
#./mipsel-linux-gdbserver-7.1 :1234 hello
HOST
$ gdb hello
(gdb) target remote 10.201.122.177:1234
Remote debugging using 10.201.122.177:1234
warning: while parsing target description (at line 10): Target description speci
fied unknown architecture "mips"
warning: Could not load XML target description; ignoring
Reply contains invalid hex digit 59
I also did try recompiling a gdb server from cygwin sources for my target, but the results were no different. My target architecture is MIPS.
POSSIBLE ANOTHER APPROACH
Is RSE (Remote System Explorer) alternate to what I am trying to achieve ?
Target description specified unknown architecture "mips"
Your target is (obviously) mipsel-linux.
Your GDB is (most likely) native linux-i386 or linux-x86_64. You can see how your GDB was configured with
(gdb) show version
...
This GDB was configured as "x86_64-linux".
In order to debug mipsel-linux target, you need to build a cross-gdb (--host=x86_64-linux --target=mipsel-linux
or some such) and then get Eclipse to invoke that GDB instead of the native one.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With