source: rtems-testing/sim-scripts/skyeye-support @ 33a3fc7

4.11
Last change on this file since 33a3fc7 was 33a3fc7, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 13, 2009 at 9:24:46 PM

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

  • Makefile, gdb-sim-run.in, gdb-sim.in, mkrun, skyeye-support, tsim-support: GDB now works with tsim and skyeye simulator BSPs.
  • Property mode set to 100644
File size: 818 bytes
Line 
1#
2#  Shared Skyeye Support
3#
4#  $Id$
5#
6
7bspUsesGDBSimulator="no"
8bspSupportsGDBServerMode="yes"
9bspNeedsDos2Unix="yes"
10bspGeneratesGDBCommands="yes"
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{
29cat <<EOF
30tar remote :12345
31load
32EOF
33}
34
35bspLimit()
36{
37  tname=$1
38  case ${tname} in
39    *stackchk*)limit=5 ;;
40    *fatal*)   limit=1 ;;
41    *psxtime*) limit=180 ;;
42    *)         limit=60 ;;
43  esac
44  return ${limit}
45}
46
47bspExited_ARM()
48{
49  for pattern in  \
50     "^Unhandled exception" \
51     "^SKYEYE:Error" \
52     "^Bus write error," \
53     "^Bus read error,"
54  do
55    grep "${pattern}" ${logfile}
56    if [ $? -eq 0 ] ; then
57      return 1
58    fi
59  done
60  return 0
61}
Note: See TracBrowser for help on using the repository browser.