1

I installed Eclipse Oxygen CDT on Ubuntu 16.04. I am using the default gdb installed.

When I try to launch the debugger in eclipse, I get the following error:

 Error with command: gdb -version

I suspected that this could be because eclipse was unable to find the gdb program, so i mentioned the whole path of the gdb program in the "Preferences =>C/C++ => GDB" options.

Still the error persists. Can anybody tell me how I can fix this error? Thanks in advance for your help.

arun nath
  • 773
  • 1
  • 6
  • 11

1 Answers1

0

check gdb version from c:\MINGW\bin\gdb32.exe "I have this version" then got Eclips >> Preferences >> C/C++ >> GDB then in GDB path "First block" click browse then insert the GDB path Done ^-^