Slipknot's Paul Gray was being prescribed Xanax in the weeks leading up to his death.

Doctor Daniel Baldi is on trial for the death of the group's bassist, who overdosed in May 2010, along with eight others, after allegedly giving him the drug despite his history of addiction.

A court heard on Tuesday (22.04.14), the musician spent his final weeks in a ''blur'' of extreme drug abuse which could have been prevented.

Paul's widow, Brenna Gray, questioned why Doctor Baldi was continuing to prescribe him the anti-anxiety drug when he was an addict in a downward spiral.

According to the Des Moines Register, she told the court: ''I just knew it was his drug of choice, that he'd struggled with it.

''So I just wasn't really sure why he was on it, why he needed it along with the medication he was taking for addiction.''

Brenna claimed she had showed his doctor photographs of Paul after he'd passed out in the hope he would take his drug abuse seriously and insists she tried to get his Slipknot band mates to stage an intervention but ''none offered to help.''

She made the claims during testimony at the trial at Polk County District Court in Iowa, after her husband was found dead at an Urbandale motel due to an overdose of prescription drugs morphine and fentanyl, which Baldi did not prescribe.

He denies nine counts of involuntary manslaughter and his lawyer claims he didn't prescribe the drugs that caused the deaths.