]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/common/genmloop.sh
* common/genmloop.sh: Add new parameter: -shell to specify the
[thirdparty/binutils-gdb.git] / sim / common / genmloop.sh
index 2d0a3b8d2530130d33f297020ddd7e4fa655b7f2..58c2ff98af092274fef680ef25eba07be9cc6c02 100644 (file)
@@ -1,5 +1,5 @@
 # Generate the main loop of the simulator.
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007, 2008
 # Free Software Foundation, Inc.
 # Contributed by Cygnus Support.
 #
 #
 #      Specify the suffix to append to output files.
 #
+# -shell <shell>
+#
+#      Specify the shell to use to execute <input-file>
+#
 # Only one of -scache/-pbb may be selected.
 # -simple is the default.
 #
@@ -160,6 +164,7 @@ do
        -switch) shift ; switch=$1 ;;
        -cpu) shift ; cpu=$1 ;;
        -infile) shift ; infile=$1 ;;
+       -shell) shift ; SHELL=$1 ;;
        *) echo "unknown option: $1" >&2 ; exit 1 ;;
        esac
        shift