source: rtems-testing/sim-scripts/skyeye-support @ 7c43341

4.11
Last change on this file since 7c43341 was 7c43341, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 13, 2009 at 3:02:55 PM

2009-08-13 Joel Sherrill <joel.sherrill@…>

  • ant5206.in, avrtest.in, bf537Stamp.in, csb337.in, csb350.in, csb360.in, edb7312.in, ezkit533.in, gumstix.in, leon2-skyeye.in, rtl22xx.in, skyeye-support, smdk2410.in: Move runARGS() and gdbServerARGS() implementations to skyeye-support. They are the same for all skyeye configurations.
  • Property mode set to 100644
File size: 807 bytes
Line 
1#
2#  Shared Skyeye Support
3#
4#  $Id$
5#
6
7bspUsesGDBSimulator="no"
8bspSupportsGDBServerMode="yes"
9bspNeedsDos2Unix="yes"
10bspGeneratesGDBCommands="no"
11
12if [ ${coverage} = "yes" ] ; then
13  bspRunFatal="yes"
14fi
15runBSP=skyeye
16
17runARGS()
18{
19  echo "-c ${bspTreeFile} -e ${1}"
20}
21
22gdbServerARGS()
23{
24  echo "-c ${bspTreeFile} -d"
25}
26
27bspGenerateGDBCommands()
28{
29  tar remote :12345
30  load
31}
32
33bspLimit()
34{
35  tname=$1
36  case ${tname} in
37    *stackchk*)limit=5 ;;
38    *fatal*)   limit=1 ;;
39    *psxtime*) limit=180 ;;
40    *)         limit=60 ;;
41  esac
42  return ${limit}
43}
44
45bspExited_ARM()
46{
47  for pattern in  \
48     "^Unhandled exception" \
49     "^SKYEYE:Error" \
50     "^Bus write error," \
51     "^Bus read error,"
52  do
53    grep "${pattern}" ${logfile}
54    if [ $? -eq 0 ] ; then
55      return 1
56    fi
57  done
58  return 0
59}
Note: See TracBrowser for help on using the repository browser.