summaryrefslogtreecommitdiffstats
path: root/sim-scripts/gdb-sim-run.in
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-21 20:32:38 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-21 20:32:38 +0000
commit016b70c33990d85360e26a59a453249d920aa7dc (patch)
tree86cd130a75de75be49e5b71ecc6a3ff4a6dce582 /sim-scripts/gdb-sim-run.in
parent2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-testing-016b70c33990d85360e26a59a453249d920aa7dc.tar.bz2
2009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* ant5206.in, avrtest.in, bf537Stamp.in, csb337.in, csb350.in, csb360.in, ezkit533.in, gdb-sim-run.in, gumstix.in, h8sim.in, jmr3904.in, m32csim.in, m32rsim.in, psim.in, qemu-rtems.in, rtl22xx.in, simsh.in, sis.in, skyeye-support, smdk2410.in, tsim-support: echo rather than return time limit since the return code is only 0-255 and we need limits longer than 255 seconds.
Diffstat (limited to '')
-rwxr-xr-xsim-scripts/gdb-sim-run.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/sim-scripts/gdb-sim-run.in b/sim-scripts/gdb-sim-run.in
index 801a5f6..f08a246 100755
--- a/sim-scripts/gdb-sim-run.in
+++ b/sim-scripts/gdb-sim-run.in
@@ -328,8 +328,7 @@ do
esac
# calculate the limit in case it is used by the simulator script
if [ ${defaultLimit} = "not_set" ] ; then
- bspLimit ${toRun}
- limit=$?
+ limit=`bspLimit ${toRun}`
else
limit=${defaultLimit}
fi