From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Snyder To: Andrew Cagney , gdb-patches@sources.redhat.com Subject: Re: [RFA]: Remote protocol symbol lookup service. Date: Fri, 11 May 2001 18:39:00 -0000 Message-id: <3AFC9436.98B217E2@cygnus.com> References: <3AF08427.3522D20E@cygnus.com> <3AF090AE.4D31F3A@cygnus.com> <3AFA23D6.1020104@cygnus.com> <3AFB4657.87FE7D47@cygnus.com> <3AFC91CF.90201@cygnus.com> X-SW-Source: 2001-05/msg00255.html 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...