This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]