The Texas prosecutor who was gunned down with his wife at their home on Saturday had carried a gun to protect himself following the killing of a fellow prosecutor in his office two months ago.