A measure to cut spending and raise the U.S. debt ceiling to avert an unprecedented default gained enough votes to pass the Senate on Tuesday, as voting continued.

The House of Representatives has already approved the measure and President Barack Obama is expected to quickly sign it into law once the Senate completes its vote.

(Reporting by Andy Sullivan)