But U.S. Defense Secretary Robert Gates has warned Turkey against sending troops into northern Iraq to hunt down Kurdish rebels accused of carrying out terrorist attacks in Turkey .