Add support for handling attach to a process if "start" fails with GDB.
Improve the way source files are found.