Sometimes GDB gets confused about what the current thread is. When it does, it asks the remote: "Who am I?" Answer it.