Can anyone please help me.
Ok, let's do some basics:
1.) Could you verify that your PATH environment variable is setup in a way that there is
a) not another (incompatible) gdb.exe int the PATH
b) the real gdb.exe from code::Blocks ist IN the path
If not, just expand the PATH environment for testing purposes to the CodeBlocks\Bin directory. C::B will recoginise this after a restart of the application. Make sure you use the "My workplace" dialog to update the new PATH environment variable. otherwise the settings might not applied (or only after a restart).
2.) Please make sure you did not install C::B in a path that contains spaces. This might be an issue.
3.) Could you post a screenshot of the compiler (path) settings (global / project wise). Did you enable the Debugger's debug-log (within the settings of C::B GDB debugger). What's the output there?
Morten.