I suspect the error may be due to Codeblocks calling gdb instead of arm-angstrom-linux-gnueabi-gdb. How can I make C::B call arm-angstrom-linux-gnueabi-gdb instead of gdb?Did you try setting the name of the debugger's executable in the compiler settings -> toolchain options?
scp ./bin/Debug/SDSN_BB root@192.168.1.110:SDSN_BB
ssh root@192.168.1.110 "gdbserver localhost:5000 SDSN_BB"