Changeset e3d7a05 in rtems-testing


Ignore:
Timestamp:
Oct 1, 2009, 8:55:50 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
a8915bf
Parents:
c2d65e2
Message:

Add script to run gdb ARM simulator.

Location:
sim-scripts
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • sim-scripts/.cvsignore

    rc2d65e2 re3d7a05  
    1616ezkit533
    1717ezkit533-gdb
     18gdbarmsim
     19gdbarmsim-gdb
    1820gumstix
    1921gumstix-gdb
  • sim-scripts/Makefile

    rc2d65e2 re3d7a05  
    44
    55INSTALL_DIR=../bin
    6 GDBSIM_SCRIPTS=h8sim jmr3904 lm32_evr m32csim m32rsim psim sis simsh
     6GDBSIM_SCRIPTS=gdbarmsim h8sim jmr3904 lm32_evr m32csim m32rsim psim sis simsh
    77SKYEYE_SCRIPTS=ant5206 bf537Stamp csb337 csb350 csb360 edb7312 ezkit533 \
    88  gumstix rtl22xx smdk2410 leon2-skyeye
     
    9292
    9393### GDB Simulator BSPs
     94gdbarmsim gdbarmsim-gdb: gdb-sim-run.in gdb-sim.in gdbarmsim.in
     95        ./mkrun yes ARM arm gdbarmsim
     96
    9497h8sim h8sim-gdb: gdb-sim-run.in gdb-sim.in h8sim.in
    9598        ./mkrun yes H8300 h8300 h8sim
  • sim-scripts/gdb-sim-run.in

    rc2d65e2 re3d7a05  
    136136bspRunsFailRandomly="no"
    137137bspInputDevice=/dev/console
     138bspRedirectInput=no
    138139
    139140for v in 4.10 4.9 4.8 4.7 ""
     
    281282  if [ ${max_run_time} -eq 0 ] ; then
    282283    #echo run ${testname} forever
    283     ${runBSP} `runARGS ${testname}` <${bspInputDevice}
     284    if [ ${bspRedirectInput} = yes ] ; then
     285      ${runBSP} `runARGS ${testname}` <${bspInputDevice}
     286    else
     287      ${runBSP} `runARGS ${testname}`
     288    fi
    284289    return
    285290  fi
     
    292297
    293298  if [ ${bspSimTrustedToExit} = "yes" ] ; then
    294     ${runBSP} `runARGS ${testname}`  <${bspInputDevice} >${logfile} 2>&1
     299    if [ ${bspRedirectInput} = yes ] ; then
     300      ${runBSP} `runARGS ${testname}` <${bspInputDevice} >${logfile} 2>&1
     301    else
     302      ${runBSP} `runARGS ${testname}` >${logfile} 2>&1
     303    fi
    295304    catLog ${logfile}
    296305    return
    297306  fi
    298307
    299   ${runBSP} `runARGS ${testname}`  <${bspInputDevice} >${logfile} 2>&1 &
     308  if [ ${bspRedirectInput} = yes ] ; then
     309    ${runBSP} `runARGS ${testname}` <${bspInputDevice} >${logfile} 2>&1 &
     310  else
     311    ${runBSP} `runARGS ${testname}` >${logfile} 2>&1 &
     312  fi
    300313  pid=$!
    301314
  • sim-scripts/qemu-gumstix.in

    rc2d65e2 re3d7a05  
    1818bspInputDevice=qemu-gumstix.cmds
    1919bspTreeFile=qemu-gumstix.cmds
     20bspRedirectInput=yes
    2021
    2122runARGS()
Note: See TracChangeset for help on using the changeset viewer.