The Arizona Diamondbacks traded shortstop John McDonald to Pittsburgh on Wednesday for a player to be named or cash, giving the Pirates some much-needed infield depth. The trade came two days after Pirates backup shortstop Chase d'Arnaud, injured in a rundown drill earlier, had surgery for a torn ligament in his left thumb. He is expected to be sidelined six to eight weeks.