If we use the vanilla one, we would encounter a dependency problem on x86:
$ ldd /tmp/android-toolchain-eabi/bin/arm-eabi-gdb libncurses.so.5 => not found libm.so.6 => /lib64/libm.so.6 (0x0000000040a40000) libexpat.so.1 => not found libc.so.6 => /lib64/libc.so.6 (0x0000000040cc3000) /lib64/ld-linux-x86-64.so.2 (0x0000000040000000)
That is because we didn't get libraries (libexpat) statically linked. We can refer to the hacks from Google's gdb-7.1.x .
If we use the vanilla one, we would encounter a dependency problem on x86:
$ ldd /tmp/android- toolchain- eabi/bin/ arm-eabi- gdb
libncurses. so.5 => not found 0000)
libexpat. so.1 => not found 3000)
/lib64/ ld-linux- x86-64. so.2 (0x000000004000 0000)
libm.so.6 => /lib64/libm.so.6 (0x0000000040a4
libc.so.6 => /lib64/libc.so.6 (0x0000000040cc
That is because we didn't get libraries (libexpat) statically linked. We can refer to the hacks from Google's gdb-7.1.x .