Comment 1 for bug 787078

Revision history for this message
Jim Huang (jserv) wrote :

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 .