He is understood to be a replacement for Rob Elliot.
Steve Bruce is believed to be looking at other free transfers for next season and it is the current regime who are still calling the shots on recruitment.
Gillespie, now 28, was on United's books as an Academy player.
He made 160 appearances for Carlisle earlier in his career before playing more than 50 games for Motherwell.
Need a VPN? Or seeking to switch? Then support Tribal Football by clicking here to sign up with our official partners NordVPN. Not only will you receive the best VPN experience, but also great discounts by signing up via Tribal Football. Thanks for your support!