2016-11-17 5 views
2

my.cpp:?cygwinのgdbのプログラムは、信号を受信、未知の信号

#include<stdio.h> 
int main() 
{ 
    printf("hello main"); 
    return 0; 
} 

のgccでビルドしてから 私はプログラムを実行するためにGDBを使用し、エラーが発生しました。 GDB:不明なターゲットの例外0x406d1388

Program received signal ?, Unknown signal. 
0x75fca6f2 in RaiseException() 
    from /cygdrive/c/WINDOWS/System32/KERNELBASE.dll 

0x75fca6f2でgccのinfo:

Using built-in specs. 
COLLECT_GCC=gcc 
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/5.4.0/lto-wrapper.exe 
Target: i686-pc-cygwin 
Thread model: posix 
gcc version 5.4.0 (GCC) 

GDB情報:

GNU gdb (GDB) (Cygwin 7.10.1-1) 7.10.1 
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 "i686-pc-cygwin". 
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". 

答えて

0

私の場合は、私のcygwinを64バージョンに変更し、問題を解決しました。 これは "よく知られた" GDB BUGとは違うかもしれないと思います。

2

これは、GDBのこのバージョンのための既知のバグです。 Thisリンクはあなたを助けるかもしれない。

+0

返信いただきありがとうございますが、これは私のproblem.iを解決することはできませんこれはすでに試してみました。 – francis

関連する問題