Connect Nexus One to Mac running Snow Leopard. Run \"debug\" from Eclipse. Shows the execution of
/usr/local/android-ndk-r5b/ndk-build NDK_DEBUG=1
The AndroidManifest.xml file had Windows carriage control (\r\n) which was messing up the ndk-gdb script. To fix this, I edited the file in vi and did a "set filetype=unix".
"set filetype=unix"