Re: Linking problems with gdb-7.2
Svante Signell, le Sun 20 Mar 2011 22:15:35 +0100, a écrit :
> On Sun, 2011-03-20 at 22:09 +0100, Samuel Thibault wrote:
> > Svante Signell, le Sun 20 Mar 2011 22:02:35 +0100, a écrit :
> > > This function is defined in threads.c bud does not seem to be recognized
> > > by the linker. What is the difference with a symbol reported as "T" or
> > > "t" ?
> >
> > t is for static functions, which can't be used outside the .o file. Is
> > it hurd-only that we use the prune_threads function?
>
> I'm not sure, but it looks like it is hurd-only, see
> http://sourceware.org/ml/gdb-patches/2009-11/msg00581.html
>
> How to change the "t" to a "T"?
Drop static in the prune_threads() definition.
Samuel
Reply to: