Você fez um comentário # 29 ?
For NDK r9:
Find this line in ndk-gdb:
run adb_cmd shell run-as $PACKAGE_NAME lib/gdbserver +$DEBUG_SOCKET --attach $PID &
replace it with these 4 lines (assuming you have $NDK defined, and assuming your target device is ARM):
run adb_cmd forward tcp:5039 tcp:5039 run adb_cmd remount run adb_cmd push $NDK/prebuilt/android-arm/gdbserver /system/bin/gdbserver.temp run adb_cmd shell /system/bin/gdbserver.temp --attach :5039 $PID &
I am working from memory above, didn't actually test exactly what I've written just now, so I apologize for any mistakes, but that is the general idea.
Again, this requires rooted device.