]> sourceware.org Git - cgen.git/commitdiff
2001-05-11 Ben Elliston <bje@redhat.com>
authorBen Elliston <bje@air.not.au>
Fri, 11 May 2001 02:24:51 +0000 (02:24 +0000)
committerBen Elliston <bje@air.not.au>
Fri, 11 May 2001 02:24:51 +0000 (02:24 +0000)
* gas-test.scm (cgen-build.sh, gentest): Escape $ with a backslash
when generating allinsn.d from objdump output. Without it, the
testsuite will treat $ as the regular expression for end of line.

ChangeLog
gas-test.scm

index 4f8a92c6b5bbe886e1bd9db8d336a05dd3fc2bf8..c792e3c3e6c0f51c695fe8f47b44f0f90285de4a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-05-11  Ben Elliston  <bje@redhat.com>
+
+       * gas-test.scm (cgen-build.sh, gentest): Escape $ with a backslash
+       when generating allinsn.d from objdump output. Without it, the
+       testsuite will treat $ as the regular expression for end of line.
+
 2001-05-09  Ben Elliston  <bje@redhat.com>
 
        * doc/porting.texi (Doing a GAS port): Replace `cgen_opcode_open'
index e0bf62de1702b218337139d13ae8ed73688bfd4b..bfbda4cf6452eb47fb7d48c796b4ed5a528d50e4 100644 (file)
@@ -215,6 +215,7 @@ function gentest {
     $BUILD/../binutils/objdump -dr a.out | \
        sed -e 's/(/\\\\(/g' \
             -e 's/)/\\\\)/g' \
+            -e 's/\\$/\\\\$/g' \
             -e 's/\\[/\\\\\\[/g' \
             -e 's/\\]/\\\\\\]/g' \
             -e 's/[+]/\\\\+/g' \
This page took 0.030317 seconds and 5 git commands to generate.