The issue has become a hot topic on the campaign trail in the wake of the massacres in El Paso and Dayton.