I would encourage him to identify what emotion he is feeling in that moment (separating out the emotion from the situation), and using coping skills to decrease the intensity of the emotion.
I agree that it is not a good idea to brush it off, "attention seeking behavior" is simply a way children (and adults) express that they are in pain or have needs that they are having difficulty getting met.