当我在 Qt Creator 中运行这个最小程序时,我收到错误“gdb 进程崩溃”:
int main(int argc, char *argv[]) {
return 0;
}
这是gdb
日志:
ADAPTER SUCCESSFULLY STARTED
NOTE: ENGINE SETUP OK
State changed from EngineSetupRequested(1) to EngineSetupOk(3).
QUEUE: SETUP INFERIOR
State changed from EngineSetupOk(3) to InferiorSetupRequested(4).
QUEUE: SETUP INFERIOR
HANDLE GDB ERROR: The gdb process was ended forcefully
GDB PROCESS FINISHED, status 1, code -1073741701
NOTE: ENGINE ILL ******
State changed from InferiorSetupRequested(4) to EngineShutdownRequested(20).
QUEUE: SHUTDOWN ENGINE
CALL: SETUP INFERIOR
Setting up inferior...
CALL: SHUTDOWN ENGINE
PLAIN ADAPTER SHUTDOWN 20
INITIATE GDBENGINE SHUTDOWN IN STATE 4, PROC: 0
NOTE: ENGINE SHUTDOWN OK
State changed from EngineShutdownRequested(20) to EngineShutdownOk(22).
State changed from EngineShutdownOk(22) to DebuggerFinished(23).
QUEUE: FINISH DEBUGGER
NOTE: FINISH DEBUGGER
HANDLE RUNCONTROL FINISHED
Debugger finished.
我在i686-pc-mingw32配置中使用 gdb 6.8。我该如何解决这个问题?