Blaine Gabbert throws for 185 yards and two touchdowns to help lead the 49ers to a 17-16 victory over the Falcons in Week 9 of NFL action.