From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5890 invoked by alias); 7 Dec 2002 19:39:02 -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 5877 invoked from network); 7 Dec 2002 19:38:58 -0000 Received: from unknown (HELO localhost.redhat.com) (24.114.171.218) by sources.redhat.com with SMTP; 7 Dec 2002 19:38:58 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 4B9D83C9F; Sat, 7 Dec 2002 14:38:32 -0500 (EST) Message-ID: <3DF24E38.7020908@redhat.com> Date: Sat, 07 Dec 2002 12:50:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nathanael Nerode , dj@redhat.com Cc: gdb-patches@sources.redhat.com Subject: sim/gdb dependency Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-12/txt/msg00248.txt.bz2 Nath. Thanks to the PPC (...), the sim can't be built before GDB has been configured. This is because the PPC is using stuff from GDB's "tm.h" and that is created during config time :-( I tweaked my local Makefile.in to read something like: all-sim: configure-sim configure-gdb and that fixed the problem. (But I'm not sure how to do this from scratch). The correct fix is for the PPC to, like the better simulators, use an include/gdb/XXX-sim.h file. In the mean time .... :-( Andrew