Hello Richard,
could you please specify, which CodeWarrior you use?
From my experience for example in CW2.10, debug symbols in output elf are enabled by default.
Eventually could you please specify your requirement and use case for better understanding?
Regards,
Martin