[rtems-testing commit] v850sim: New script for GDB v850 simulator
Joel Sherrill
joel at rtems.org
Tue Jun 12 22:51:43 UTC 2012
Module: rtems-testing
Branch: master
Commit: 2bdd0a03f5b985307e878f7d8ada4e6ed11e5ef6
Changeset: http://git.rtems.org/rtems-testing/commit/?id=2bdd0a03f5b985307e878f7d8ada4e6ed11e5ef6
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Tue Jun 12 17:52:45 2012 -0500
v850sim: New script for GDB v850 simulator
---
sim-scripts/.gitignore | 2 ++
sim-scripts/Makefile | 5 ++++-
sim-scripts/v850sim.in | 26 ++++++++++++++++++++++++++
3 files changed, 32 insertions(+), 1 deletions(-)
diff --git a/sim-scripts/.gitignore b/sim-scripts/.gitignore
index f279af8..e40679f 100644
--- a/sim-scripts/.gitignore
+++ b/sim-scripts/.gitignore
@@ -57,3 +57,5 @@ smdk2410
smdk2410-gdb
uC5282
usleep
+v850sim
+v850sim-gdb
diff --git a/sim-scripts/Makefile b/sim-scripts/Makefile
index f6a8fdd..724984f 100644
--- a/sim-scripts/Makefile
+++ b/sim-scripts/Makefile
@@ -1,6 +1,6 @@
INSTALL_DIR=../bin
GDBSIM_SCRIPTS=bf537Stamp ezkit533 gdbarmsim h8sim jmr3904 lm32_evr \
- m32csim m32rsim psim sis simsh
+ m32csim m32rsim psim sis simsh v850sim
SKYEYE_SCRIPTS=ant5206 bf537Stamp-skyeye csb337 csb350 csb360 edb7312 \
ezkit533-skyeye gumstix rtl22xx smdk2410 leon2-skyeye
@@ -127,6 +127,9 @@ sis sis-gdb: gdb-sim-run.in gdb-sim.in sis.in
simsh simsh-gdb: gdb-sim-run.in gdb-sim.in simsh.in
./mkrun yes SuperH sh simsh
+v850sim v850sim-gdb: gdb-sim-run.in gdb-sim.in v850sim.in
+ ./mkrun yes V850 v850 v850sim
+
## AVR Test (uses Simulavrxx)
avrtest: gdb-sim-run.in avrtest.in
./mkrun no AVR avr avrtest
diff --git a/sim-scripts/v850sim.in b/sim-scripts/v850sim.in
new file mode 100644
index 0000000..30ef8a7
--- /dev/null
+++ b/sim-scripts/v850sim.in
@@ -0,0 +1,26 @@
+#
+# v850 Simulator in GDB Support
+#
+
+runARGS()
+{
+ echo "${1}"
+}
+
+checkBSPFaults()
+{
+ return 0
+}
+
+bspLimit()
+{
+ testname=$1
+ case ${testname} in
+ *)
+ limit=5
+ ;;
+ esac
+ echo ${limit}
+}
+
+bspSkipInterruptCriticalSectionTests="yes"
More information about the vc
mailing list