"version mismatch" when trying to remotely debug

I have gdbserver running on my BF537 target board and I am trying to connect to it using gdb on my host machine.  However, I'm getting the error:

"gdb: error initializing thread_db library: version mismatch between libthread_db and libpthread"

when I try to connect to the remote target from within GDB.

What is going wrong?

  • Please ensure that the version of GDB you are using is from the same toolchain that built both your application and the kernel you are running on.

    For instance, if you are using the 2010R1-RC5 kernel, then make sure that your application was compiled using the 2010R1-RC4 toolchain and that the version of GDB you are using is also from this toolchain.

    Please also ensure you are using the GDB from the Blackfin GNU toolchain (e.g. bfin-uclinux-gdb), and not your host's gdb.


  • 0
    •  Analog Employees 
    on Apr 29, 2019 10:36 AM
    This question has been closed by the EZ team and is assumed answered.