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]

gdb cvs vs x86_64-apple-darwin10


   Has anyone tried building the current gdb cvs on
Snow Leopard. I was able to build gdb with...

../src/configure --disable-werror --build=x86_64-apple-darwin10 --target=x86_64-apple-darwin10 --target=x86_64-apple-darwin10
make

however the resulting gdb doesn't run properly. I get an error...

[Macintosh-2:~/gdb_cvs/dist/bin] howarth% ./gdb /Users/howarth/a.out
GNU gdb (GDB) 6.8.50.20090830-cvs
Copyright (C) 2009 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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
unable to read unknown load command 0x22
unable to read unknown load command 0x22
Reading symbols from /Users/howarth/a.out...(no debugging symbols found)...done.
(gdb) 

when I try to load an x86_64 executable created in gcc 4.4.1 with -g. Does
the x86_64-apple-darwin9 target work?
               Jack


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