summaryrefslogtreecommitdiff
path: root/opcodes/cgen.sh
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2005-02-08 04:52:24 +0000
committerJim Blandy <jimb@codesourcery.com>2005-02-08 04:52:24 +0000
commit4515748a5c590cfdb52237c652ad34e8bb59df61 (patch)
tree80cf35f54d5ad1c98f7a88ebba5dbf52a4fec89a /opcodes/cgen.sh
parentfa33692eea53c544b4c0f8a83cd6adae7f864b71 (diff)
downloadgdb-4515748a5c590cfdb52237c652ad34e8bb59df61.tar.gz
cgen/ChangeLog:
2005-02-07 Jim Blandy <jimb@redhat.com> * cgen-opc.scm: Don't load fixup.scm here. (See corresponding changes in the opcodes directory.) opcodes/ChangeLog: 2005-02-07 Jim Blandy <jimb@redhat.com> * Makefile.am (CGEN): Load guile.scm before calling the main application script. * Makefile.in: Regenerated. * cgen.sh: Be prepared for the 'cgen' argument to contain spaces. Simply pass the cgen-opc.scm path to ${cgen} as its first argument; ${cgen} itself now contains the '-s', or whatever is appropriate for the Scheme being used.
Diffstat (limited to 'opcodes/cgen.sh')
-rw-r--r--opcodes/cgen.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/cgen.sh b/opcodes/cgen.sh
index 5a340b6e527..bafc8f449b9 100644
--- a/opcodes/cgen.sh
+++ b/opcodes/cgen.sh
@@ -47,7 +47,7 @@ set -e
action=$1
srcdir=$2
-cgen=$3
+cgen="$3"
cgendir=$4
cgenflags=$5
arch=$6
@@ -93,7 +93,7 @@ opcodes)
rm -f tmp-dis.c tmp-dis.in1
# Run CGEN.
- ${cgen} -s ${cgendir}/cgen-opc.scm \
+ ${cgen} ${cgendir}/cgen-opc.scm \
-s ${cgendir} \
${cgenflags} \
-f "${options}" \