Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: curaga on October 04, 2009, 06:41:27 AM

Title: GDB for tc 2.x has wrong libthread_db
Post by: curaga on October 04, 2009, 06:41:27 AM
GDB gives an error about non-matching libpthread (base, 2.9) and libthread_db (extension, 2.3.6). Removes the ability to debug threads.

Please update the gdb extension for TC 2.x.
Title: Re: GDB for tc 2.x has wrong libthread_db
Post by: Juanito on October 04, 2009, 07:11:16 AM
In the meantime, you can get libthread_db from glibc_add_libs if needed.
Title: Re: GDB for tc 2.x has wrong libthread_db
Post by: Juanito on October 19, 2009, 08:06:27 AM
I've removed the wrong libthread_db from the extension and it seems to work fine with glibc_add_libs as a dep.
Title: Re: GDB for tc 2.x has wrong libthread_db
Post by: ^thehatsrule^ on November 17, 2009, 11:23:20 PM
Thanks for that.
Title: Re: GDB for tc 2.x has wrong libthread_db
Post by: TCU123 on November 05, 2012, 08:05:19 AM
Sorry for refreshing the old topic. I downloaded the very last tc and the problem seems to appear again. Does anybody know anything about it?
Title: Re: GDB for tc 2.x has wrong libthread_db
Post by: Juanito on November 05, 2012, 08:08:23 AM
What error message do you get when you run gdb from a terminal window?

Is glibc_add_libs (for the appropriate version of tc) loaded?
Title: Re: GDB for tc 2.x has wrong libthread_db
Post by: TCU123 on November 05, 2012, 08:37:50 AM
Unable to find libthread_db matching inferior's thread library, thread debugging will not be available
tc 4.6.2
gdb 7.2
libthread_db-1.0.so and libthread_db.so.1 in glibc_add_libs
Title: Re: GDB for tc 2.x has wrong libthread_db
Post by: Juanito on November 05, 2012, 08:56:31 AM
Just to double-check - are you sure you have glibc_add_libs from the tc-4 repo?