Normal cough syrup has some nasty chemicals that can actually cause shortness of breath. You might want to try some natural cough syrup instead.
I like codeine but the doctors won't prescribe it for me, not even for migraines. I can't take over-the-counter cough syrup so I take nin jom (Chinese herbal) instead. I hope you feel better soon.