This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

--enable-targets=all cannot work with bfd?


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:
<http://www.gnu.org/software/gdb/bugs/>...
"/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:
<http://www.gnu.org/software/gdb/bugs/>...
"/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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]