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
Another workaround is to push libs/armeabi/gdbserver to /data/data/your.pkg/lib on a rooted device.