A man who pulled a gun and pointed it at a police officer was killed in the St. Louis suburb of Berkeley.