This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: RedHat Advanced Server 3 and thread debugging
- From: David Highley <dhighley at highley-recommended dot com>
- To: gdb at sources dot redhat dot com
- Date: Mon, 19 Sep 2005 11:10:33 -0700 (PDT)
- Subject: Re: RedHat Advanced Server 3 and thread debugging
"Ajay Patel wrote:"
>
> David,
>
> GDB is broken for statically linked application.
> No body has bothered to fix this.
Has the platform/tool world silently decided not to support static builds?
Does the platform/tool world know all users needs? It must be silent by
the lack of documentation!
> Thanks
> Ajay
>
>
> > We have implemented and a large application that is built on many
> > different operating systems with platform native tools. For Linux we use
> > the RedHat Advanced Server 3 update 3 platform. Development has a lot of
> > problems debugging threaded applications on this platform.
> >
> > We build our applications static. Today one of the developers rebuilt
> > an application using the apparently undocumented option -rdynamic and
> > found that he was able to get better trace back information. Then
> > dynamic link was done and he found that still more debugging
> > information was available. Another thing they noticed was instead of one
> > pid per thread there was just one pid. Which now leads us to wonder if
> > we have the same thread model in a static link and a dynamic link.
> >
> > Can anyone shed some intelligent light on these observations. For a
> > concept that is so widely used it seems difficult to get very good
> > information on any platform.
> >
> >
>
>