Added -g option: connection to gdb.