アプリ版:「スタンプのみでお礼する」機能のリリースについて

cygwinでstackdumpを吐き出します。(これはcoreファイルですが)これ↓からエラーの場所を特定できるでしょうか?
よろしくお願いいたします。
$ gdb -c makeConnect.exe.core
GNU gdb (GDB) 7.5.50.20120815-cvs (cygwin-special)
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 "i686-cygwin".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
[New Thread 0x1]
[New process 1]
[New process 1]
#0 0x00401f55 in ?? ()
(gdb) where
#0 0x00401f55 in ?? ()
#1 0x20000008 in ?? ()
#2 0x00401b46 in ?? ()
#3 0x0022aa40 in ?? ()
#4 0x00402a12 in ?? ()
#5 0x0022aa40 in ?? ()
#6 0x61007128 in ?? ()
#7 0x00000001 in ?? ()
#8 0x0022acc0 in ?? ()
#9 0x610050dd in ?? ()

A 回答 (1件)

シンボルが含まれていませんね。


自分で作成したプログラムならば、コンパイル時とリンク時に-gをつけてあげてください。

例:
gcc -c -g -O0 AAA.c -o AAA.o
gcc -c -g -O0 BBB.c -o BBB.o
gcc -g -O0 -o a.out AAA.o BBB.o
    • good
    • 0

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!