* Additional state for new configtool test platform
@ 2008-12-12 21:40 John Dallaway
0 siblings, 0 replies; only message in thread
From: John Dallaway @ 2008-12-12 21:40 UTC (permalink / raw)
To: ecos-patches
[-- Attachment #1: Type: text/plain, Size: 108 bytes --]
This patch provides additional default state for a new configtool test
platform. Checked-in.
John Dallaway
[-- Attachment #2: configtool-platform.patch --]
[-- Type: text/x-patch, Size: 2498 bytes --]
? common/common/build.cxx.keep
Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/host/tools/configtool/ChangeLog,v
retrieving revision 1.72
diff -u -5 -r1.72 ChangeLog
--- ChangeLog 9 Dec 2008 19:05:35 -0000 1.72
+++ ChangeLog 12 Dec 2008 20:57:29 -0000
@@ -1,5 +1,10 @@
+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
wxNotebook widget to allow initial display of borders and buttons.
Index: standalone/wxwin/configtooldoc.cpp
===================================================================
RCS file: /cvs/ecos/ecos/host/tools/configtool/standalone/wxwin/configtooldoc.cpp,v
retrieving revision 1.18
diff -u -5 -r1.18 configtooldoc.cpp
--- standalone/wxwin/configtooldoc.cpp 13 Aug 2008 09:37:07 -0000 1.18
+++ standalone/wxwin/configtooldoc.cpp 12 Dec 2008 20:57:36 -0000
@@ -2297,18 +2297,32 @@
GetCdlConfig()->get_build_info(m_BuildInfo);
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;
ecPlatformEditorDialog dlg(wxGetApp().GetTopWindow());
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())
{
return;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-12-12 21:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-12 21:40 Additional state for new configtool test platform John Dallaway
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).