From what I've read on these forums the race or type of being Gandalf is sort of god-like immortal, like the rest of the wizards. I think I remember reading that they can't interfere in some way.
What are the limitations of what Gandalf can and can't do to alter history?