Skip to content

Instantly share code, notes, and snippets.

@ecarnevale
Created April 21, 2010 17:09
Show Gist options
  • Select an option

  • Save ecarnevale/374109 to your computer and use it in GitHub Desktop.

Select an option

Save ecarnevale/374109 to your computer and use it in GitHub Desktop.
Output of the console
[Session started at 2010-04-21 19:08:31 +0200.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1461.2) (Fri Mar 5 04:43:10 UTC 2010)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin".tty /dev/ttys005
Loading program into debugger…
Program loaded.
run
[Switching to process 29972]
Running…
dyld: Library not loaded: /Users/emanuel/Library/Frameworks/Git.framework/Versions/A/Git
Referenced from: /Users/emanuel/Documents/Development/GitTest/build/Release/GitTest.app/Contents/MacOS/GitTest
Reason: image not found
sharedlibrary apply-load-rules all
Data Formatters temporarily unavailable, will re-try after a 'continue'. (Unknown error loading shared library "/Developer/Applications/Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin/Contents/Resources/PBGDBIntrospectionSupport.A.dylib")
Cannot access memory at address 0x0
Cannot access memory at address 0x0
(gdb)
fsssss:GitTest emanuel$ otool -L build/Release/GitTest.app/Contents/MacOS/GitTest
build/Release/GitTest.app/Contents/MacOS/GitTest:
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 15.0.0)
/Users/emanuel/Library/Frameworks/Git.framework/Versions/A/Git (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 123.0.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 550.0.0)
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1038.0.0)
fsssss:devel emanuel$ lipo -detailed_info GitTest/Frameworks/Git.framework/Versions/A/Git
Fat header in: GitTest/Frameworks/Git.framework/Versions/A/Git
fat_magic 0xcafebabe
nfat_arch 3
architecture x86_64
cputype CPU_TYPE_X86_64
cpusubtype CPU_SUBTYPE_X86_64_ALL
offset 4096
size 235440
align 2^12 (4096)
architecture i386
cputype CPU_TYPE_I386
cpusubtype CPU_SUBTYPE_I386_ALL
offset 241664
size 186012
align 2^12 (4096)
architecture ppc7400
cputype CPU_TYPE_POWERPC
cpusubtype CPU_SUBTYPE_POWERPC_7400
offset 430080
size 219040
align 2^12 (4096)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment