[Buildroot] dbg problem with threads

Dominic Newton dominic.newton at in-2-technology.co.uk
Mon Jul 25 12:27:24 UTC 2011


Check your target, I find uClibc's thread support for i386 can throw up 
some issues. Try compiling for something like i486 or i586 if your 
system can run that type of processor.

I've found this often solves all manner of thread problems, but I 
haven't tried this for gdb.

Dominic Newton

On 25/07/2011 12:39, andrew Parker wrote:
> Hi,
>
> I’m unable to debug with threads under the Buildroot-2010.11.
>
> I tried dozens of combinations, but I get always errors when I try to debug.
>
> Obviously the next options are always activated in the configuration files:
>
> Menuconfig:
>
> -Thread library debbuging
>
> -Build gdb debugger for the Target
>
> -Build gdb server for the Target
>
> -Build gdb for the host
>
> Uclibc-menuconfig:
>
> -Build pthreads debugging support
>
> -Build uClibc with debugging symbols
>
> The target is i386
>
> The gcc version is 4.3.6
>
> The gdb version is6.8
>
> The uClibc is 0.9.31
>
> I tried also with newest Buildroot release, with the same result.
>
> The gdb always says the same:
>
> ‘ cannot initialize thread debugging library: generic error’
>
> And other data is that the when the gdb starts, the line ‘This GDB was
> configured as:….’ does not have any mention to the thread library.
>
> In the /lib folder I have:
>
> libpthread-0.9.31.so
>
> libthread_db-0.9.31.so
>
> Any knows any trick for this?
>
> Thanks.
>
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot



More information about the buildroot mailing list