I am pretty sure that McCain just doesn't respect obama. I can certainly understand why, but lack of respect is not the same as racism.
Obama on a worldwide stage told the people of Pakistan (a nuclear power with an unstable government) that we would brush them aside and not recognize their borders.
While that is the policy we should have you don`t broadcast it to a people that we are trying to cultivate a relationship with so that they don`t view islamofacisim as a viable alternative.
Then in his next breath he still says he will legitimize the government of Iran which makes no bones about its desire to destabalize the region.
It isn`t racisim to not have respect for Obama,it is good judgement.