Merge pull request #357 from Alexpux/develop

Add patches for GCC. Some updates.
Fix building GDB with python.