diff options
author | Chris Johns <chrisj@rtems.org> | 2010-11-05 02:53:42 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2010-11-05 02:53:42 +0000 |
commit | ae809fc3d4210e184b3a00c0e3673d964399dd9f (patch) | |
tree | befc3f1661d03aa0aee9d97626068e3c35b976a1 /sim-scripts | |
parent | 1b0a550cb0d39db09ff89d151e953a5f4bf88e89 (diff) |
2010-11-05 Chris Johns <chrisj@rtems.org>
* sim-scripts/gdb-sim-run.in: Fix logdir option.
Diffstat (limited to 'sim-scripts')
-rwxr-xr-x | sim-scripts/gdb-sim-run.in | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sim-scripts/gdb-sim-run.in b/sim-scripts/gdb-sim-run.in index 2b1dfb3..24e17ea 100755 --- a/sim-scripts/gdb-sim-run.in +++ b/sim-scripts/gdb-sim-run.in @@ -34,6 +34,7 @@ USAGE=\ -s -- force System V IPC support (default=no) -l limit -- specify time limit (default is 'BSP dependent') -L dir -- specify log directory (default is 'log') + -T -- rtems-test command mode NOTES: + System V IPC and Coverage are not supported by all BSPs or simulators. @@ -85,8 +86,9 @@ generate_tree_and_exit="no" logdir="log" enable_display_adapter="no" enable_network="no" +rtems_test="no" -while getopts "vcCgGil:L:DsN" OPT +while getopts "vcCgGil:L:DsNT" OPT do case "$OPT" in v) verbose="yes";; @@ -98,8 +100,9 @@ do N) enable_network="yes" ;; i) interactive="yes";; l) defaultLimit="$OPTARG";; - L) loggir="$OPTARG";; + L) logdir="$OPTARG";; s) use_sysv_ipc="yes";; + T) rtems_test="yes";; *) fatal;; esac done @@ -117,6 +120,10 @@ else fi fi +### If in RTEMS test mode do not log. +logdir="" +doCatOutput="" + ### Set BSP defaults. If BSP does not have default, it will override bspGeneratesDeviceTree="no" bspSupportsSystemVIPC="no" |