From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1470 invoked by alias); 11 Nov 2004 22:24:53 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 1444 invoked from network); 11 Nov 2004 22:24:48 -0000 Received: from unknown (HELO walton.sibelius.xs4all.nl) (82.92.89.47) by sourceware.org with SMTP; 11 Nov 2004 22:24:48 -0000 Received: from elgar.sibelius.xs4all.nl (elgar.sibelius.xs4all.nl [192.168.0.2]) by walton.sibelius.xs4all.nl (8.13.0/8.13.0) with ESMTP id iABMOJkP007647; Thu, 11 Nov 2004 23:24:19 +0100 (CET) Received: from elgar.sibelius.xs4all.nl (localhost [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.12.6p3/8.12.6) with ESMTP id iABMOIet099126; Thu, 11 Nov 2004 23:24:18 +0100 (CET) (envelope-from kettenis@elgar.sibelius.xs4all.nl) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.12.6p3/8.12.6/Submit) id iABMODmo099121; Thu, 11 Nov 2004 23:24:13 +0100 (CET) Date: Thu, 11 Nov 2004 22:24:00 -0000 Message-Id: <200411112224.iABMODmo099121@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: cagney@gnu.org CC: mark.kettenis@xs4all.nl, joseph@codesourcery.com, kevinb@redhat.com, gdb-patches@sources.redhat.com In-reply-to: <4193DDCE.7060205@gnu.org> (message from Andrew Cagney on Thu, 11 Nov 2004 16:46:54 -0500) Subject: Re: Assume solib.h References: <4193BFA0.3060607@gnu.org> <200411112005.iABK5FrV098628@elgar.sibelius.xs4all.nl> <4193DDCE.7060205@gnu.org> X-SW-Source: 2004-11/txt/msg00254.txt.bz2 Date: Thu, 11 Nov 2004 16:46:54 -0500 From: Andrew Cagney Mark Kettenis wrote: > Date: Thu, 11 Nov 2004 14:38:08 -0500 > From: Andrew Cagney > > Joseph, Kevin, > > The attached patch illustrates the minimum needed to enable solibs for > Solaris. It just needs to be filled out so that other systems are > updated like I did for PPC linux (hint, hint ;-) > > Once this is in place we can follow through with other cleanups - much > will fall out! > > There's just one non-technical nit. > > It means breaking non solib.[hc] shared library systems. Kevin > indicated that there were two - AIX and HP/UX remaining. I think we can > live with that - we've patiently waited for what, more than two years > for nothing to happen, so it is now time to give things that gentle push. > > IIRC (and looking at the code I think I do remember it correctly) this > also breaks targets without shared library support. I gave it a full test with PowerPC GNU/Linux and sniff test with powerpc-elf. If there are other problems, I'm sure they'll be sorted out. Really? fork-child.c:fork_inferior() || \/ SOLIB_CREATE_INFERIOR_HOOK || \/ solib.c:solib_create_inferior_hook() || \/ TARGET_SO_SOLIB_CREATE_INFERIOR_HOOK || \/ current_target_so_ops->solib_create_inferior_hook() which, if you don't include any of: solib-aix5.c solib-frv.c solib-irix.c solib-osf.c solib-sunos.c solib-svr4.c is a null pointer. Sorry Andrew, but if you want this to go in, you'll have to fix it. (Of course I might do that myself to get OpenBSD/mips64 working again). Mark