This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb darwin target on Linux host?
made a cross-check o a native darwin box, and I get the "not recognized"
error too:
root# gdb/gdb /bin/ls
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show
copying"
and "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin10.0.0".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
"/bin/ls": not in executable format: File format not recognized
^^^^^^^
So, I assume your packaged libbfd cannot handle these binaries at all?
(from your gdb-7.2.tar.bz2)