Created
November 23, 2012 20:07
-
-
Save davidbalbert/4137073 to your computer and use it in GitHub Desktop.
GDB 7.5 branch on OS X 10.8.2 load command errors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gdb/gdb /tmp/gdbtest/hello | |
GNU gdb (GDB) 7.5.0.20121123-cvs | |
Copyright (C) 2012 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-darwin12.2.0". | |
For bug reporting instructions, please see: | |
<http://www.gnu.org/software/gdb/bugs/>... | |
BFD: /private/tmp/gdbtest/hello: unknown load command 0x2a | |
BFD: /private/tmp/gdbtest/hello: unknown load command 0x28 | |
BFD: /private/tmp/gdbtest/hello: unknown load command 0x29 | |
BFD: /private/tmp/gdbtest/hello: unknown load command 0x2b | |
BFD: /private/tmp/gdbtest/hello: unknown load command 0x2a | |
BFD: /private/tmp/gdbtest/hello: unknown load command 0x28 | |
BFD: /private/tmp/gdbtest/hello: unknown load command 0x29 | |
BFD: /private/tmp/gdbtest/hello: unknown load command 0x2b | |
Reading symbols from /private/tmp/gdbtest/hello...Reading symbols from /private/tmp/gdbtest/hello.dSYM/Contents/Resources/DWARF/hello...done. | |
done. | |
(gdb) break main | |
Breakpoint 1 at 0x100000f01: file hello.c, line 5. | |
(gdb) run | |
Starting program: /private/tmp/gdbtest/hello | |
BFD: /usr/lib/libSystem.B.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/libSystem.B.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/system/libcache.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/system/libcache.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/system/libcommonCrypto.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/system/libcommonCrypto.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/system/libcompiler_rt.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/system/libcompiler_rt.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/system/libcopyfile.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/system/libcopyfile.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/system/libdispatch.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/system/libdispatch.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/system/libdnsinfo.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/system/libdnsinfo.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/system/libdyld.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/system/libdyld.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/system/libkeymgr.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/system/libkeymgr.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/system/liblaunch.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/system/liblaunch.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/system/libmacho.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/system/libmacho.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/system/libquarantine.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/system/libquarantine.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/system/libremovefile.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/system/libremovefile.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/system/libsystem_blocks.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/system/libsystem_blocks.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/system/libsystem_c.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/system/libsystem_c.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/system/libsystem_dnssd.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/system/libsystem_dnssd.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/system/libsystem_info.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/system/libsystem_info.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/system/libsystem_kernel.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/system/libsystem_kernel.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/system/libsystem_m.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/system/libsystem_m.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/system/libsystem_network.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/system/libsystem_network.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/system/libsystem_notify.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/system/libsystem_notify.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/system/libsystem_sandbox.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/system/libsystem_sandbox.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/system/libunc.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/system/libunc.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/system/libunwind.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/system/libunwind.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/system/libxpc.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/system/libxpc.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/system/libcorecrypto.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/system/libcorecrypto.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/libobjc.A.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/libobjc.A.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/libauto.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/libauto.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/libc++abi.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/libc++abi.dylib(i386:x86-64): unknown load command 0x2b | |
BFD: /usr/lib/libc++.1.dylib(i386:x86-64): unknown load command 0x2a | |
BFD: /usr/lib/libc++.1.dylib(i386:x86-64): unknown load command 0x2b | |
Breakpoint 1, main (argc=1, argv=0x7fff5fbff7c0) at hello.c:5 | |
5 printf("Hello, world\n"); | |
(gdb) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment