This is probably very obvious, but just a note for anyone interested in using gdb.. if you downloaded 64-bit go, you need to use the 64bit gdb to debug it
If you attempt to use the 32 bit gdb, you'll get errors about the executable you're attempting to debug is in an invalid format
If you attempt to use the 32 bit gdb, you'll get errors about the executable you're attempting to debug is in an invalid format