source: rtems-testing/sim-scripts/skyeye-support @ 1ba5b39

4.11
Last change on this file since 1ba5b39 was 1ba5b39, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 13, 2009 at 3:00:05 PM

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

  • .cvsignore, Makefile, edb7312.in, gdb-sim-run.in, skyeye-support: Add support for invoking a simulator external to gdb in gdb server mode. Have the gdb commands generated to include attaching to that server instance.
  • Property mode set to 100644
File size: 706 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
17bspGenerateGDBCommands()
18{
19  tar remote :12345
20  load
21}
22
23bspLimit()
24{
25  tname=$1
26  case ${tname} in
27    *stackchk*)limit=5 ;;
28    *fatal*)   limit=1 ;;
29    *psxtime*) limit=180 ;;
30    *)         limit=60 ;;
31  esac
32  return ${limit}
33}
34
35bspExited_ARM()
36{
37  for pattern in  \
38     "^Unhandled exception" \
39     "^SKYEYE:Error" \
40     "^Bus write error," \
41     "^Bus read error,"
42  do
43    grep "${pattern}" ${logfile}
44    if [ $? -eq 0 ] ; then
45      return 1
46    fi
47  done
48  return 0
49}
Note: See TracBrowser for help on using the repository browser.