Hi Joerg,
Not sure why your tabs are not displaying correctly.
I have comitted an STR7 demo project to SVN, you should be able to get that now. Do you want to give that a try?
Also, I have made a slight change to the patch I issued earler. I originally had cbEVT_DEBUGGER_FINISHED dispatched from here:
Which is OK, except when GDB fails to run because of an error. If an error occurrs, it does not stop OpenOCD. So it's better here:
void DebuggerGDB::OnGDBTerminated(wxCommandEvent& event)
{
m_PidToAttach = 0;
m_TimerPollDebugger.Stop();
m_LastExitCode = event.GetInt();
//the process deletes itself
// m_pProcess = 0L;
ClearActiveMarkFromAllEditors();
m_State.StopDriver();
Manager::Get()->GetLogManager()->Log(F(_("Debugger finished with status %d"), m_LastExitCode), m_PageIndex);
if (m_NoDebugInfo)
{
cbMessageBox(_("This project/target has no debugging info."
"Please change this in the project's build options and retry..."),
_("Error"),
wxICON_STOP);
}
// Notify debugger plugins for end of debug session
PluginManager *plm = Manager::Get()->GetPluginManager();
CodeBlocksEvent evt(cbEVT_DEBUGGER_FINISHED);
plm->NotifyPlugins(evt);
// switch to the user-defined layout when finished debugging
DoSwitchToPreviousLayout();
#ifdef __WXGTK__
// kill any linux console
if ( m_bIsConsole && (m_nConsolePid > 0) )
{
::wxKill(m_nConsolePid);
m_nConsolePid = 0;
m_bIsConsole = false;
}
#endif
}
Martin.