* [Buildroot] dbg problem with threads
@ 2011-07-25 11:39 andrew Parker
2011-07-25 12:27 ` Dominic Newton
0 siblings, 1 reply; 4+ messages in thread
From: andrew Parker @ 2011-07-25 11:39 UTC (permalink / raw)
To: buildroot
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 is 6.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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110725/bea587e4/attachment-0001.html>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] dbg problem with threads
2011-07-25 11:39 [Buildroot] dbg problem with threads andrew Parker
@ 2011-07-25 12:27 ` Dominic Newton
2011-07-25 18:02 ` andrew Parker
2011-07-25 18:05 ` andrew Parker
0 siblings, 2 replies; 4+ messages in thread
From: Dominic Newton @ 2011-07-25 12:27 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] dbg problem with threads
2011-07-25 12:27 ` Dominic Newton
@ 2011-07-25 18:02 ` andrew Parker
2011-07-25 18:05 ` andrew Parker
1 sibling, 0 replies; 4+ messages in thread
From: andrew Parker @ 2011-07-25 18:02 UTC (permalink / raw)
To: buildroot
The same
problem appears with i586 target.
But I think
I solved the issue selecting ?build packages with debugging symbols? in
menuconfig.
Thanks for
your help.
> Date: Mon, 25 Jul 2011 13:27:24 +0100
> From: dominic.newton at in-2-technology.co.uk
> To: buildroot at busybox.net
> Subject: Re: [Buildroot] dbg problem with threads
>
> 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
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110725/5ee0d62a/attachment.html>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] dbg problem with threads
2011-07-25 12:27 ` Dominic Newton
2011-07-25 18:02 ` andrew Parker
@ 2011-07-25 18:05 ` andrew Parker
1 sibling, 0 replies; 4+ messages in thread
From: andrew Parker @ 2011-07-25 18:05 UTC (permalink / raw)
To: buildroot
The same
problem appears with i586 target.
But I think
I solved the issue selecting ?build packages with debugging symbols? in
menuconfig.
Thanks for
your help.
> Date: Mon, 25 Jul 2011 13:27:24 +0100
> From: dominic.newton at in-2-technology.co.uk
> To: buildroot at busybox.net
> Subject: Re: [Buildroot] dbg problem with threads
>
> 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
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110725/17674fae/attachment-0001.html>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-07-25 18:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-25 11:39 [Buildroot] dbg problem with threads andrew Parker
2011-07-25 12:27 ` Dominic Newton
2011-07-25 18:02 ` andrew Parker
2011-07-25 18:05 ` andrew Parker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox