Persistent cough for 1 month now, what could be wrong?

Patient: Persistent cough for 1 month, I am rarely ill so I feel this is now becoming more serious than an cold. What could be wrong? (given the symptoms below).

Symptoms: Coughing, gagging, short breath, (worse at night), coughing up stuff, (previously had a cold)

Doctor: