Mercurial > ecos
changeset 2688:75d2f2d71e1f
* standalone/wxwin/configtooldoc.cpp: Provide additional default state for
a new test platform.
| author | jld |
|---|---|
| date | Fri, 12 Dec 2008 21:36:46 +0000 |
| parents | e78db9cb95db |
| children | cb126e20cbb6 |
| files | host/tools/configtool/ChangeLog host/tools/configtool/standalone/wxwin/configtooldoc.cpp |
| diffstat | 2 files changed, 20 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/host/tools/configtool/ChangeLog +++ b/host/tools/configtool/ChangeLog @@ -1,3 +1,8 @@ +2008-12-12 John Dallaway <jld@ecoscentric.com> + + * standalone/wxwin/configtooldoc.cpp: Provide additional default state + for a new test platform. + 2008-12-09 John Dallaway <jld@ecoscentric.com> * standalone/wxwin/runtestsdlg.cpp: Reduce initial/minimum size of the
--- 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()) {
