The bill, introduced in Virginia and elsewhere at the behest of the National Rifle Association, was approved in the Senate today without debate by a vote of 32 to 8. The measure passed the House last month and will now be sent to Gov. James S. Gilmore III (R), who is a champion of gun rights and has appeared in an NRA advertisement. A Gilmore spokesman said the governor had not yet indicated a position on the issue.