Re: [RFA]: Remote protocol symbol lookup service.

Michael Snyder
2001-05-11T18:39:00Z

Andrew Cagney wrote:
>
> > Could I also suggest moving the code doing the work in:
> >>
> >
> >> > + /* Function to be called whenever a new objfile (shlib) is detected. */
> >> > + static void
> >> > + remote_new_objfile (struct objfile *objfile)
> >
> >>
> >> to a separate function and adding a call to it from remote_open_*(). As
> >> far as I know, that will cover all cases
> >
> >
> > Ok.
> >
>
> But did it work? :-) Try creating a static threaded program and see what
> happens.

No, it will not work in that context. The thread-db library will not
be called soon enough. Although hmm... perhaps there's something I could
look at in that regard on the target side...