From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12767 invoked by alias); 19 Nov 2004 17:11:12 -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 12152 invoked from network); 19 Nov 2004 17:10:51 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 19 Nov 2004 17:10:51 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iAJHAnLN017318 for ; Fri, 19 Nov 2004 12:10:50 -0500 Received: from localhost.redhat.com (to-dhcp51.toronto.redhat.com [172.16.14.151]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iAJHAmr18053; Fri, 19 Nov 2004 12:10:48 -0500 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id AEB1B129D8C; Fri, 19 Nov 2004 12:10:46 -0500 (EST) Message-ID: <419E2914.1020903@gnu.org> Date: Fri, 19 Nov 2004 17:11:00 -0000 From: Andrew Cagney User-Agent: Mozilla Thunderbird 0.8 (X11/20041020) MIME-Version: 1.0 To: Mark Kettenis , joseph@codesourcery.com Cc: eliz@gnu.org, kevinb@redhat.com, gdb-patches@sources.redhat.com Subject: Re: Assume solib.h References: <4193BFA0.3060607@gnu.org> <200411112005.iABK5FrV098628@elgar.sibelius.xs4all.nl> <4193DDCE.7060205@gnu.org> <200411112224.iABMODmo099121@elgar.sibelius.xs4all.nl> <4194DBEB.6010304@gnu.org> <01c4c8db$Blat.v2.2.2$377f5020@zahav.net.il> <419942CB.4000905@gnu.org> <01c4cb98$Blat.v2.2.2$fc133040@zahav.net.il> <419A2742.8070804@gnu.org> <200411161917.iAGJHqO8000702@elgar.sibelius.xs4all.nl> <419CAD27.5080908@gnu.org> <200411181436.iAIEabdF025983@juw15.nfra.nl> In-Reply-To: <200411181436.iAIEabdF025983@juw15.nfra.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-11/txt/msg00388.txt.bz2 > Date: Thu, 18 Nov 2004 09:09:43 -0500 > From: Andrew Cagney > Mark wrote: > > Yup, I'm wrong. Not *every* embedded target will break. Some of them > > include solib-svr4.o or some other solib-xxx.o; powerpc-elf is one of > > them. I'm also wrong that it breaks vax-dec-openbsd* for pretty much > > the same reason. However, there are plenty of embedded targets for > > which I'm pretty certain that my analysis is true: arm-elf, mips-elf, > > i386-elf are among them. > > I'm not. This is for mips-elf: cagney@to-dhcp51$ ./gdb /tmp/a.out GNU gdb 6.3.50_2004-11-01-cvs ... (gdb) b main Breakpoint 1 at 0xa00202b0: file hello.c, line 5. (gdb) target sim Connected to the simulator. (gdb) load ... (gdb) run Starting program: /tmp/a.out Breakpoint 1, main () at hello.c:5 5 hello.c: No such file or directory. in hello.c sigh, Joseph, Given that no one has raised a concern over my original point that it would break _AIX_ and _HPUX_ (the latter doesn't build anyway) (perhaps this key point was lost in the noise), and given that Kevin's also given his approval, you're finally clear to throw the switch and assume solib. Kevin's dummy solib simplifies things slightly. I think the real patch will just need to add #include "solib.h" where needed, and remove all the existing *.tm:DEPRECATED_TM_FILE=solib.h and {tm,nm}-*.h:#include "solib.h". I'd also test it on a GNU/Linux system. Have fun, and thank you for your patience. (Hmm, what's left, if Solaris is useable, it's time to add a NEWS entry!) Andrew