From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10250 invoked by alias); 11 Jan 2010 03:25:33 -0000 Received: (qmail 10229 invoked by uid 22791); 11 Jan 2010 03:25:32 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SARE_SUB_LEAD_CHAR2,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-px0-f175.google.com (HELO mail-px0-f175.google.com) (209.85.216.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 11 Jan 2010 03:25:27 +0000 Received: by pxi5 with SMTP id 5so15587416pxi.12 for ; Sun, 10 Jan 2010 19:25:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.2.38 with SMTP id 38mr5304801wfb.94.1263180325202; Sun, 10 Jan 2010 19:25:25 -0800 (PST) From: Hui Zhu Date: Mon, 11 Jan 2010 03:25:00 -0000 Message-ID: Subject: --enable-targets=all cannot work with bfd? To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 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/msg00100.txt.bz2 Hello guys, I try use --enable-targets=all when I config the gdb. But looks bfd of gdb cannot read this file. For example: head config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.64. Invocation command line was $ ../src/configure --disable-sid --disable-rda --disable-binutils --disable-gas --disable-ld --disable-gprof --enable-targets=all --enable-64-bits-bfd ## --------- ## ## Platform. ## teawater@pek-hzhu:~/gdb/cvs/bgdball$ file vmlinux vmlinux: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped teawater@pek-hzhu:~/gdb/cvs/bgdball$ gdb/gdb vmlinux This GDB was configured as "i686-pc-linux-gnu". For bug reporting instructions, please see: ... "/home/teawater/gdb/cvs/bgdball/vmlinux": not in executable format: File format not recognized (gdb) quit teawater@pek-hzhu:~/gdb/cvs/bgdball$ file arm arm: ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically linked, not stripped teawater@pek-hzhu:~/gdb/cvs/bgdball$ gdb/gdb arm GNU gdb (GDB) 7.0.50.20100105-cvs Copyright (C) 2010 Free Software Foundation, Inc. For bug reporting instructions, please see: ... "/home/teawater/gdb/cvs/bgdball/arm": not in executable format: File format is ambiguous head bfd/config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.64. Invocation command line was $ /home/teawater/gdb/cvs/src/bfd/configure --cache-file=./config.cache --with-system-zlib --disable-sid --disable-rda --disable-binutils --disable-gas --disable-ld --disable-gprof --enable-targets=all --enable-64-bits-bfd --program-transform-name=s,y,y, --disable-option-checking --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --srcdir=../../src/bfd build_alias=i686-pc-linux-gnu host_alias=i686-pc-linux-gnu target_alias=i686-pc-linux-gnu CC=gcc CFLAGS=-g -O2 LDFLAGS= --no-create --no-recursion What I miss? Thanks, Hui