[rtems-testing commit] sim-scripts/gdb-sim-run.in: Add -T option
Sebastian Huber
sebh at rtems.org
Wed Nov 13 12:57:22 UTC 2013
Module: rtems-testing
Branch: master
Commit: 9f23aff6ff4a41cbd20cb175e392795a92ea24e1
Changeset: http://git.rtems.org/rtems-testing/commit/?id=9f23aff6ff4a41cbd20cb175e392795a92ea24e1
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Nov 13 13:53:52 2013 +0100
sim-scripts/gdb-sim-run.in: Add -T option
The -T option can be used to specify a TAP network interface used for
example by the Qemu simulator.
---
sim-scripts/gdb-sim-run.in | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/sim-scripts/gdb-sim-run.in b/sim-scripts/gdb-sim-run.in
index e48338a..6406bb1 100755
--- a/sim-scripts/gdb-sim-run.in
+++ b/sim-scripts/gdb-sim-run.in
@@ -27,6 +27,7 @@ USAGE=\
-g -- generate device tree and exit (default=no)
-D -- enable use of display adapter (default=no)
-N -- enable use of network adapter (default=no)
+ -T -- specify TAP network interface (none by default)
-G -- put simulator in GDB server mode (default=no)
-i -- interactive (default=no time limit)
-p cores -- number of cores for SMP
@@ -87,10 +88,11 @@ logdir="log"
doTrace="no"
enable_display_adapter="no"
enable_network="no"
+tap_network_interface=""
skip_interrupt_critical_section_tests="no"
number_of_cores=
-while getopts "vcCgGil:L:p:DsNT" OPT
+while getopts "vcCgGil:L:p:DsNT:" OPT
do
case "$OPT" in
v) verbose="yes";;
@@ -100,6 +102,7 @@ do
g) generate_tree_and_exit="yes" ;;
G) gdb_server_mode="yes" ;;
N) enable_network="yes" ;;
+ T) tap_network_interface="$OPTARG" ;;
i) interactive="yes";;
l) defaultLimit="$OPTARG";;
L) logdir="$OPTARG";;
More information about the vc
mailing list