I’m trying to debug our game with ndk-gdb. I can launch the game with the ndkgdb.sh script, but the game library has no symbols in it, so I can’t set breakpoints to our functions.
I tried compiling with
LOCAL_CFLAGS := -Wall -g -ggdb -O1
inside Android.mk and also ./build_native.sh NDK_DEBUG=1, but libgame.so is always generated without symbols (both for arm and x86). Any tips on how to get the symbols in the library are appreciated!