This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: GDB CVS won't build on HP-UX 10.20
- To: Alexandre Oliva <aoliva at redhat dot com>, gdb at sources dot redhat dot com
- Subject: Re: GDB CVS won't build on HP-UX 10.20
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Tue, 29 May 2001 09:45:21 -0700
- References: <ork830fone.fsf@guarana.lsd.ic.unicamp.br>
On May 29, 7:14am, Alexandre Oliva wrote:
> The problem is that remote.c calls no_shared_libraries(), but solib.c
> is not used on this platform, and in 10 seconds I couldn't find
> anything remotely similar in somsolib.c. Should the #ifdef test that
> decides whether to call no_shared_libraries() be made stricter, or
> should no_shared_libraries() be defined in somsolib.c too?
IMO, the "right" way to fix this is to convert somsolib.c into a
solib.c back end (perhaps solib-som.c?) and make HP-UX use solib.c.
(As an example of how this might be done, see Nick Duffek's recent
work in converting osfsolib.c to solib-osf.c)
However, in this case, the right way is not necessarily easy, so the
expedient solution of adding no_shared_libraries() to somsolib.c is
acceptable as a short term solution.
Kevin