This is the mail archive of the gdb@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: GDB CVS won't build on HP-UX 10.20


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


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