From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5620 invoked by alias); 18 Aug 2002 18:30:38 -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 5613 invoked from network); 18 Aug 2002 18:30:35 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.240.27) by sources.redhat.com with SMTP; 18 Aug 2002 18:30:35 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 3CA383CFA; Sun, 18 Aug 2002 14:30:29 -0400 (EDT) Message-ID: <3D5FE7C5.1000502@ges.redhat.com> Date: Sun, 18 Aug 2002 11:30:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020810 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Kettenis Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/in] Add (broken) hppa-elf target References: <3D5FC7BE.3000302@ges.redhat.com> <86it28xgdh.fsf@elgar.kettenis.dyndns.org> <3D5FD91C.7000302@ges.redhat.com> <200208181803.g7II32ag029618@elgar.kettenis.dyndns.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-08/txt/msg00519.txt.bz2 > Date: Sun, 18 Aug 2002 13:27:56 -0400 > From: Andrew Cagney > > PS: To give you a headache :-) Even though a native i386-ibm-aix won't > build, there is a good chance that an i386-ibm-aix host will build an > i386-ibm-aix cross debugger. This is correct behavour because a cross > debugger should be buildable on any host :-) > > Yup. Except that --target=i386-ibm-aix won't give you exactly a > i386-ibm-aix cross-debuger. It will give you the same generic i386 > cross-debuger as --target=i386-elf or --target=i386-whatever-junk. > Suppose i386-ibm-aix had a rather peculiar ABI that's really > incompatible with the generic i386 ABI. The resulting GDB would not > be very useful. Shouldn't we somehow warn against this? (I've ended up debugging an arm target using an x86 gdb so it is still useful :-) I guess we could. src/configure.in currently disables the ia64-elf target because it doesn't build. A warning message is printed but it is burried in amongst all the other autoconf output. Anyway, I think it is easier in cases such as this, to just let GDB built the best it can. If a warning is really needed then perhaps have the OS sniffer detect and report something (Hmm, I just deleted the messaging indicating that the OSABI was unknown :-( ). enjoy, Andrew