In violence Saturday , a bomb attached to a car exploded near Andalus Square in central Baghdad , killing a brigadier general and wounding his guard and a civilian bystander , according to police and hospital officials .