From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7368 invoked by alias); 20 Aug 2002 01:34:02 -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 7313 invoked from network); 20 Aug 2002 01:34:01 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 20 Aug 2002 01:34:01 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id A29C63ED2; Mon, 19 Aug 2002 21:33:58 -0400 (EDT) Message-ID: <3D619C86.3080500@ges.redhat.com> Date: Mon, 19 Aug 2002 18:34: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: Peter Barada Cc: gdb@sources.redhat.com, Peter.Barada@Motorola.com Subject: Re: Can't build m68k-linux gdb-5.2.1 References: <200208192254.g7JMsMe09414@hyper.wm.sps.mot.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-08/txt/msg00220.txt.bz2 > I'm trying to build a gdb for m68k-linux, configured as: > All the missing references are in gdb/m68klinux-nat.c, so I'd assume > this is supposed to be built, but isn't for --target=m68k-linux. Does > anyone have any idea how I can get it to be built? Looks like for the moment you'll need to use m68k-elf. The file m68klinux-nat.c should only contain stuff for a native build (eg ptrace interface). The OS dependant, but not specific to native, is typically put in a file like m68k-linux-tdep.c. cf m68knbsd-tdep.c. Patches against mainline welcome (do you have an FSF assignment?). It should also be noted that GDB's mainline m68k was recently multi-arched so while the m68k-elf should be ok, I'm not sure what the state of m68k-linux-gnu is. Would you be able to create abug report to track this: http://sources.redhat.com/gdb/bugs/ > While I'm at it, how do I configure(and build) a gdbserver to run on > m68k-linux that's built on an x86-linux machine? > > All help is appreciated. You'll need to config/compile it using a cross compiler (m68k-linux-gnu-gcc say). enjoy, Andrew