I currently have GDB version 7.7.1 installed on my system. However, for the combination of Eclipse and a software package called openFOAM (version 2.3.1) I need to downgrade the GDB version to 6.8 in order for Eclipse to run in debug mode, as is mentioned here:
I uninstalled GDB version 7.7.1 and downloaded gdb-6.8a.tar.gz from http://ftp.gnu.org/gnu/gdb/ and try to install using:
sudo ./configure --disable-werror sudo make sudo make install
At the last two lines I get the error:
linux-nat.h:63:18: error: field 'siginfo' has incomplete type
I don't know how to fix this error as searching for it seems to indicate a bug that was fixed in later GDB versions (this is obviously not useful for me). Any help would be greatly appreciated.