Strange gdb 7.9 on Yosemite 10.10.13

I just updated my system to osx 10.10.13

and reinstalled gdb7.9

. I can use it with some simple debugging tools. But when I try " r

" in gdb

, it shows

warning: Could not open OSO archive file "/BinaryCache/corecrypto/corecrypto-233.1.2~26/Symbols/BuiltProducts/libcorecrypto_static.a"
warning: `/BinaryCache/coreTLS/coreTLS-35.20.2~10/Objects/coretls.build/coretls.build/Objects-normal/x86_64/system_coretls_vers.o': can't open to read symbols: No such file or directory.
warning: Could not open OSO archive file "/BinaryCache/coreTLS/coreTLS-35.20.2~10/Symbols/BuiltProducts/libcoretls_ciphersuites.a"
warning: Could not open OSO archive file "/BinaryCache/coreTLS/coreTLS-35.20.2~10/Symbols/BuiltProducts/libcoretls_handshake.a"
warning: Could not open OSO archive file "/BinaryCache/coreTLS/coreTLS-35.20.2~10/Symbols/BuiltProducts/libcoretls_record.a"
warning: Could not open OSO archive file "/BinaryCache/coreTLS/coreTLS-35.20.2~10/Symbols/BuiltProducts/libcoretls_stream_parser.a"

      

It seems strange, can you please help me to solve this problem?

+3


source to share


1 answer


This only happens in Yosemite and only for GDB after 7.8, so installing GDB 7.7 solves the problem as described in this issue . You can fix this by uninstalling GDB and installing GDB 7.7 using this formula , that is, using the command

brew install https://gist.githubusercontent.com/ymyzk/10ad2b74af9235eddb2c/raw/9d0b9734ea01f9753a5f54dd221acd99ee7e53e8/gdb.rb

      



Note:

  • I'm not sure if this is necessary, but I applied the formula so that it doesn't update to the latest GDB 7.10.
  • I assume you have already codeigned it.
+2


source







All Articles