Eye surgeon accused of attempted murder admits firearms char