# HG changeset patch # User jld # Date 1229117806 0 # Node ID 75d2f2d71e1f8079c5389b7f91e86d346c739a2a # Parent e78db9cb95dbb3278ed41e91982b75850e719650 * standalone/wxwin/configtooldoc.cpp: Provide additional default state for a new test platform. diff --git a/host/tools/configtool/ChangeLog b/host/tools/configtool/ChangeLog --- a/host/tools/configtool/ChangeLog +++ b/host/tools/configtool/ChangeLog @@ -1,3 +1,8 @@ +2008-12-12 John Dallaway + + * standalone/wxwin/configtooldoc.cpp: Provide additional default state + for a new test platform. + 2008-12-09 John Dallaway * standalone/wxwin/runtestsdlg.cpp: Reduce initial/minimum size of the diff --git a/host/tools/configtool/standalone/wxwin/configtooldoc.cpp b/host/tools/configtool/standalone/wxwin/configtooldoc.cpp --- a/host/tools/configtool/standalone/wxwin/configtooldoc.cpp +++ b/host/tools/configtool/standalone/wxwin/configtooldoc.cpp @@ -2299,7 +2299,7 @@ void ecConfigToolDoc::RunTests() if (NULL==CeCosTestPlatform::Get(strTarget)) { wxString msg; - msg.Printf(_("%s is not a recognized platform - do you wish to add it?"), (const wxChar*) strTarget); + msg.Printf(_("%s is not a recognized test platform - do you wish to add it?"), (const wxChar*) strTarget); if (wxNO == wxMessageBox(msg, wxGetApp().GetSettings().GetAppName(), wxICON_QUESTION|wxYES_NO)) return; @@ -2307,6 +2307,20 @@ void ecConfigToolDoc::RunTests() dlg.m_strPlatform = strTarget; dlg.m_strPrefix = GetCurrentTargetPrefix(); + dlg.m_strGDB = _("set height 0\n" + "set debug remote 0\n" + "set remotebaud %b\n" + "target remote %p\n" + "load\n" + "break cyg_test_exit\n" + "rbreak cyg_assert_fail\n" + "break cyg_test_init\n" + "cont\n" + "set cyg_test_is_simulator=0\n" + "cont\n" + "bt"); + dlg.m_strPrompt = _("(gdb) "); + dlg.m_strInferior = dlg.m_strPrefix + _("-gdb -nw -q %e"); dlg.m_strCaption=_("New Platform"); if(wxID_CANCEL == dlg.ShowModal()) {