私はコアダンプファイルをerlangアプリケーションによって生成し、解析したいと思います。これは初めてのgdbの使用です。私はgdbをインストールしましたが、実行ファイルとコアダンプファイルで実行していません。gdbを使用してコアダンプを解析する - erlangアプリケーションによって生成されたもの
私は、実行可能ファイルと
gdb erts-5.9.3/bin/beam.smp core
私は、私が得ることを実行するなどのコア・ダンプをgdbを
GNU gdb (GDB) 7.9
Copyright (C) 2015 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-darwin15.4.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from erts-5.9.3/bin/beam.smp...(no debugging symbols found)...done.
"/Users/sad/projects/core" is not a core dump: File format not recognized
どれでも助けを与えますか?ありがとう!マックOSはELF
ファイル形式を使用していない
'file/Users/sad/projects/core'とは何ですか? –
/Users/sad/projects/core:ELF 64ビットLSBコアファイル '-A 128 -P 1000'のx86-64、バージョン1(SYSV)、SVR4スタイル、 – sad