A grinding machine and a method for grinding buttons of a rock drill bit are disclosed the grinding machine has a frame and a grinding head the grinding head has a rotatable grinding spindle the free end of the grinding spindle is intended to drive and to replaceably carry a grinding cup.