A helper command to attach GDB