Implement "set cwd" command on GDB