From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12034 invoked by alias); 2 Oct 2002 01:08:13 -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 12023 invoked from network); 2 Oct 2002 01:08:12 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 2 Oct 2002 01:08:12 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id g920nQi17407 for ; Tue, 1 Oct 2002 20:49:26 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g9218Bf04723 for ; Tue, 1 Oct 2002 21:08:11 -0400 Received: from localhost.localdomain (vpn50-3.rdu.redhat.com [172.16.50.3]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g9218Bj04609; Tue, 1 Oct 2002 21:08:11 -0400 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id g92185820745; Tue, 1 Oct 2002 18:08:05 -0700 Date: Tue, 01 Oct 2002 18:08:00 -0000 From: Kevin Buettner Message-Id: <1021002010805.ZM20744@localhost.localdomain> In-Reply-To: Alexandre Oliva "can't build cross-gdb for --target=mips-sgi-irix6" (Oct 1, 9:49pm) References: To: Alexandre Oliva , gdb-patches@sources.redhat.com Subject: Re: can't build cross-gdb for --target=mips-sgi-irix6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-10/txt/msg00034.txt.bz2 On Oct 1, 9:49pm, Alexandre Oliva wrote: > mips-sgi-irix6-gdb (5.3 branch and mainline) failed to link on > athlon-pc-linux-gnu. breakpoint.c didn't to compile in > disable_breakpoints_in_shlibs() because SOLIB_ADD was not defined. I > think solib.h must be #included somewhere, and I think the right place > is config/mips/tm-irix6.h. I couldn't test this natively, because I > don't have access to any irix box at the moment, but the cross > debugger built correctly with this patch. Ok to install? Yes. Normally, we also try to remove the #include of solib.h from the appropriate nm-*.h files. However, we can't easily do that for Irix since nm-irix6.h includes nm-irix5.h which includes config/nm-sysv4.h. This latter file is used by a lot of other platforms. Once our Irix system is running again, I'll see if I can figure out what should be done so that solib.h isn't included more than once. (Including it more than once is safe though because solib.h protects itself from multiple inclusions.) Thanks, Kevin