Skip to content

argp/macgdb

 
 

Repository files navigation

Forward-port of Apple's OS X-specific patches to gdb

Originally by rgov:

https://github.com/rgov/macgdb

Forked and updated by argp:

https://github.com/argp/macgdb

Feel free to fork and submit pull requests.

Tested on:

  • 10.8.4
  • 10.8.3
  • 10.7.5

Building

export CFLAGS="-Wno-format"
./configure --enable-64-bit-bfd --disable-werror --prefix=$(pwd)/dist
make
make install

Code signing

Creating a signing identity

See Chapter 2, "Obtaining a Signing Identity" of the Code Signing Guide:

http://developer.apple.com/mac/library/documentation/Security/Conceptual/CodeSigningGuide/index.html

Add your certificate to the System keychain. Modify the trust settings as follows to "Never Trust" for all uses except for code signing, which should be "Always Trust."

Signing gdb after building

codesign -s "Certificate Common Name" dist/bin/*

Cleaning

make distclean
find . -iname config.cache -print -delete

About

Forward-port of Apple's OS X-specific patches to gdb

Resources

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
COPYING
Unknown
COPYING.LIB

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 93.8%
  • Assembly 3.8%
  • C++ 0.9%
  • Shell 0.7%
  • Logos 0.3%
  • Perl 0.2%
  • Other 0.3%