Is it required to compile all libraries with toolchain used with gdb ?

Ran Shalit <[email protected]> Sat, 21 Apr 2018 16:20:26 +0300
Newsgroups gmane.comp.gdb.devel,gmane.comp.gdb.general
Message-ID <CAJ2oMh+T7JqZb8L498sE4+d3j6TUMJVobuB42u7VGbEtJzmWOw@mail.gmail.com>
Hello,

Is it required to compile all libraries with same toolchain which
created the gdb/gdbserver.
For example, I have in sysroot pthread.so, but it might have been
compiled with other toolchian than the toolchain used for
gdb/gdbserver.
The main application, though is compiled with the same toolchin.

Best regards,
ranran