Bug #18656 2012-07-04 10:59
titanping
stop debugger function problem
Hello: I am debug program on codeblock , I use ARM linux and arm-linux-gdb connect gdbserver ,when I stop debugger will can not normal stop debug . I have see the debuggergdb.cpp , will occur "Child pid is 0, so we will terminate GDB directly" problem . Please check it ,Thanks . void DebuggerGDB::Stop() { // m_Process is PipedProcess I/O; m_Pid is debugger pid if (m_pProcess && m_Pid) { if (!IsStopped()) { // TODO (obfuscated#): Check if this can be implemented on Windows #ifdef __WXGTK__ int childPID=m_State.GetDriver()->GetChildPID(); if (childPID == 0) { DebugLog(_("Child pid is 0, so we will terminate GDB directly")); wxKill(m_Pid, wxSIGTERM); return; } #endif Break(); } RunCommand(CMD_STOP); } }
- Category
- Debugger
- Group
- Platform:Linux
- Status
- Open
- Close date
- Assigned to
- tpetrov
History
tpetrov 2012-10-01 10:56
Please paste the full debugger log and explain the steps needed to reproduce the problem.
Also what version of C::B are you using?