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