From: Dominic Newton <dominic.newton@in-2-technology.co.uk>
To: buildroot@busybox.net
Subject: [Buildroot] dbg problem with threads
Date: Mon, 25 Jul 2011 13:27:24 +0100 [thread overview]
Message-ID: <4E2D612C.3060805@in-2-technology.co.uk> (raw)
In-Reply-To: <BAY148-W188B7918A758222B68A18DBA330@phx.gbl>
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
next prev parent reply other threads:[~2011-07-25 12:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-25 11:39 [Buildroot] dbg problem with threads andrew Parker
2011-07-25 12:27 ` Dominic Newton [this message]
2011-07-25 18:02 ` andrew Parker
2011-07-25 18:05 ` andrew Parker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E2D612C.3060805@in-2-technology.co.uk \
--to=dominic.newton@in-2-technology.co.uk \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox