From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27940 invoked by alias); 18 Jan 2005 20:35:47 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 27898 invoked from network); 18 Jan 2005 20:35:41 -0000 Received: from unknown (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org with SMTP; 18 Jan 2005 20:35:41 -0000 Received: from elgar.sibelius.xs4all.nl (elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.0/8.13.0) with ESMTP id j0IKZcUq020463; Tue, 18 Jan 2005 21:35:38 +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 j0IKZctc004221; Tue, 18 Jan 2005 21:35:38 +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 j0IKZcrn004218; Tue, 18 Jan 2005 21:35:38 +0100 (CET) Date: Tue, 18 Jan 2005 20:35:00 -0000 Message-Id: <200501182035.j0IKZcrn004218@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: cagney@gnu.org CC: gdb@sources.redhat.com In-reply-to: <41ED6BFD.6060602@gnu.org> (message from Andrew Cagney on Tue, 18 Jan 2005 15:05:17 -0500) Subject: Re: [PATCH/RFA] sim autoconf conversion fallout References: <200501161926.j0GJQGX7005764@elgar.sibelius.xs4all.nl> <41ED6BFD.6060602@gnu.org> X-SW-Source: 2005-01/txt/msg00091.txt.bz2 Date: Tue, 18 Jan 2005 15:05:17 -0500 From: Andrew Cagney Mark Kettenis wrote: > There still a lot of breakage in the sim tree: Looks under desk, nope, no fire. I guess MIPS, mn10300, and erc32 qualify as "a lot" :-) I just tried to build a native GDB on mips64-unknown-openbsd3.6 and sparc64-unknown-freebsd5.3 in a row. Gave me a slightly biased view of reality ;-). It seems though that d10v is also broken. > * Several simulators no longer build because the common directory > isn't configured. AFAICT all similators need that directory, so I > propose the attached patch. This problem applied to just two simulators: MIPS and mn10300. I've fixed the error and confirmed that the MIPS builds. Thanks for fixing it. However, what's against configuring the common directory unconditionally? Makes things even simpler ;-). > * The --enable-sim option is essentially a no-op now, since all > simulators are built unconditionally if gdb is configured for a > matching target. Why has the option been retained while all the > logic that used it is gone? Why was the logic removed in the first > place? --enable-sim always was a no-op (unlike --disable-sim). The only exception was for erc32 and since that doesn't build at all I've now disabled it. Ah, I overlooked the "if test "${enable_sim}" != no". > * In the past several simulators were only built when compiling with > gcc. That code was ripped out. Why? Why not. From '98 (although I suspect '96): # The PowerPC simulator uses the GCC extension long long as well as # ANSI prototypes, so don't enable it for random host compilers # unless asked to. hence the test. Fast forward 7 years - even GCC now assums ISO-C and long-long is a defacto "standard". With erc32 gone this seems not unreasonable. If "long long" poses a problem we can always bring over some of the logic from bfd. Mark