0
votes

When I try to run my C++ hello world program in Eclipse, I get the error "Error while launching command: gdb --version".

SO won't let me upload the following screenshot: Screenshot 1

I'm running eclipse on Windows 7 and using Cygwin's GCC/GDB. Typing gdb --version in cygwin causes no problems. I've confirmed that it's in C:/cygwin/bin. This path is added as an environment variable. What's the problem?

Here's a screenshot of my path variable: Screenshot 2

1

1 Answers

2
votes

This is be because Eclipse CDT does not support gdb version 7.5. Please try to install the gdb version 7.3, or older.