From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14107 invoked by alias); 12 Jan 2010 07:29:53 -0000 Received: (qmail 14097 invoked by uid 22791); 12 Jan 2010 07:29:53 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-pw0-f49.google.com (HELO mail-pw0-f49.google.com) (209.85.160.49) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 12 Jan 2010 07:29:48 +0000 Received: by pwj12 with SMTP id 12so2202146pwj.8 for ; Mon, 11 Jan 2010 23:29:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.143.25.40 with SMTP id c40mr5156088wfj.265.1263281387357; Mon, 11 Jan 2010 23:29:47 -0800 (PST) In-Reply-To: <20100111092907.GA27357@host0.dyn.jankratochvil.net> References: <20100111034437.GA28673@caradoc.them.org> <20100111092907.GA27357@host0.dyn.jankratochvil.net> From: Hui Zhu Date: Tue, 12 Jan 2010 07:29:00 -0000 Message-ID: Subject: Re: --enable-targets=all cannot work with bfd? To: Jan Kratochvil , Daniel Jacobowitz Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-01/txt/msg00120.txt.bz2 Thanks Jan and Daniel, For the amd64, I am OK now. For the arm and mips, I found that because it get more than one bfd_target in bfd_check_format_matches. I try set arch and set osabi, but still cannot handle it. Does gdb have some way to handle it? Best regards, Hui On Mon, Jan 11, 2010 at 17:29, Jan Kratochvil w= rote: > On Mon, 11 Jan 2010 04:58:46 +0100, Hui Zhu wrote: >> $ ../src/configure --disable-sid --disable-rda --disable-binutils >> --disable-gas --disable-ld --disable-gprof --enable-targets=3Dall >> --enable-64-bits-bfd > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ^ typo bits->bit > > amd64: > not in executable format: File format not recognized > arm: > not in executable format: File format is ambiguous > > For arm it is something more specific. > > > Regards, > Jan > > >> On Mon, Jan 11, 2010 at 11:44, Daniel Jacobowitz = wrote: >> > On Mon, Jan 11, 2010 at 11:25:05AM +0800, Hui Zhu wrote: >> >> What I miss? >> > >> > Try --enable-64-bit-bfd. >> > >> > -- >> > Daniel Jacobowitz >> > CodeSourcery >> > >