Robert Downey Jr. explains what role Gary Shandling plays in Iron Man 2:

I'm doing a Senate hearing where the government is saying the Iron Man tech needs to be turned over to the Senator and the Senator is Gary Shandling. And we had this fantastic day that was somehow this controlled chaos of a Senate hearing where I keep interrupting them and dah dah dah.

He says the Iron Man suit has been improved and is more "ergonomic," and the movie is as much about Tony's internal processes and his quirky decision-making as it is about "bad guys." It's really about a dysfunctional family, and how they save "life on Earth as we know it." [Collider]