Thank you for the reply Adrian,
If I run CodeWarrior with "Compile the kernel with debug info" set, then I do see some debug functionality, but it seems unstable (e.g., kernel oops, illegal instruction reported on the console, breakpoints can't be set in the debug shell, etc. ).
In the CodeWarrior Infocenter documentation->CodeWarrior Development Studio for Power Architecture Technology->Configuring the Linux Kernel, there is instruction to
Select Kernel hacking.
Select Include CodeWarrior kernel debugging by pressing Y. Enabling this option allows the CodeWarrior debugger to debug the target.
In previous releases, I know that selecting "CodeWarrior kernel debugging" would define the CONFIG_DEBUG_CW flag, and this flag would enable various source lines to set things like MSR_DE for the MSR register and prevent ppc_md.power_save() from being called during idle.
Can you please confirm that the current documentation in the infocenter is wrong and that the CONFIG_DEBUG_CW flag ( and associated kernel patch ) is no longer required? If this is the case, I'll have to figure out why debugging seems unstable and may require additional help.
Thank you
Bob
PS, I'm debugging with a T1040RDB and using CW 10.5.2 on Ubuntu 14.04 & SDK2.0.