aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-11-14 06:50:42 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-11-14 06:50:42 +0000
commitdd06d920c86bf450011ccc7b964627eb02031bc5 (patch)
treec09f185d3514e4c4c4c791360386fd47f1f16d74 /gdb/testsuite
parent79cf7e1f330c45abe5460fb6182d5bca684f9187 (diff)
downloadgdb-dd06d920c86bf450011ccc7b964627eb02031bc5.zip
gdb-dd06d920c86bf450011ccc7b964627eb02031bc5.tar.gz
gdb-dd06d920c86bf450011ccc7b964627eb02031bc5.tar.bz2
* gdb.stabs: Re-write weird.def and configuration to use sed
instead of cpp. sed is portable and POSIX; cpp is neither.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/gdb.stabs/.Sanitize6
-rw-r--r--gdb/testsuite/gdb.stabs/alpha.mt4
-rw-r--r--gdb/testsuite/gdb.stabs/aout.mt4
-rw-r--r--gdb/testsuite/gdb.stabs/aout.sed (renamed from gdb/testsuite/gdb.stabs/weird-aout.sed)0
-rw-r--r--gdb/testsuite/gdb.stabs/ecoff.mt4
-rw-r--r--gdb/testsuite/gdb.stabs/ecoff.sed (renamed from gdb/testsuite/gdb.stabs/weird-ecoff.sed)0
-rw-r--r--gdb/testsuite/gdb.stabs/xcoff.mt4
-rw-r--r--gdb/testsuite/gdb.stabs/xcoff.sed (renamed from gdb/testsuite/gdb.stabs/weird-xcoff.sed)0
8 files changed, 11 insertions, 11 deletions
diff --git a/gdb/testsuite/gdb.stabs/.Sanitize b/gdb/testsuite/gdb.stabs/.Sanitize
index bf31687..e6fa102 100644
--- a/gdb/testsuite/gdb.stabs/.Sanitize
+++ b/gdb/testsuite/gdb.stabs/.Sanitize
@@ -26,9 +26,9 @@ alpha.mt
aout.mt
configure.in
ecoff.mt
-weird-aout.sed
-weird-ecoff.sed
-weird-xcoff.sed
+aout.sed
+ecoff.sed
+xcoff.sed
weird.def
weird.exp
xcoff.mt
diff --git a/gdb/testsuite/gdb.stabs/alpha.mt b/gdb/testsuite/gdb.stabs/alpha.mt
index 4863b4d..4ebce02 100644
--- a/gdb/testsuite/gdb.stabs/alpha.mt
+++ b/gdb/testsuite/gdb.stabs/alpha.mt
@@ -1,7 +1,7 @@
# This configuration is for a gcc that uses mips-tfile. If your gcc
# uses gas, you should configure gdb --with-gnu-as.
#
-weird.o: $(srcdir)/weird.def $(srcdir)/weird-ecoff.sed
+weird.o: $(srcdir)/weird.def $(srcdir)/ecoff.sed
sed -e '/.if notalpha/,/.endif notalpha/d' <$(srcdir)/weird.def | \
- sed -f $(srcdir)/weird-ecoff.sed >weird.s
+ sed -f $(srcdir)/ecoff.sed >weird.s
$(CC) -c weird.s
diff --git a/gdb/testsuite/gdb.stabs/aout.mt b/gdb/testsuite/gdb.stabs/aout.mt
index 7eb9f06..1648ae5 100644
--- a/gdb/testsuite/gdb.stabs/aout.mt
+++ b/gdb/testsuite/gdb.stabs/aout.mt
@@ -1,3 +1,3 @@
-weird.o: $(srcdir)/weird.def $(srcdir)/weird-aout.sed
- sed -f $(srcdir)/weird-aout.sed <$(srcdir)/weird.def >weird.s
+weird.o: $(srcdir)/weird.def $(srcdir)/aout.sed
+ sed -f $(srcdir)/aout.sed <$(srcdir)/weird.def >weird.s
$(CC) -c weird.s
diff --git a/gdb/testsuite/gdb.stabs/weird-aout.sed b/gdb/testsuite/gdb.stabs/aout.sed
index 0ed3a5e..0ed3a5e 100644
--- a/gdb/testsuite/gdb.stabs/weird-aout.sed
+++ b/gdb/testsuite/gdb.stabs/aout.sed
diff --git a/gdb/testsuite/gdb.stabs/ecoff.mt b/gdb/testsuite/gdb.stabs/ecoff.mt
index 93bf7b2..ceb2a99 100644
--- a/gdb/testsuite/gdb.stabs/ecoff.mt
+++ b/gdb/testsuite/gdb.stabs/ecoff.mt
@@ -1,7 +1,7 @@
# This configuration is for a gcc that uses mips-tfile. If your gcc
# uses gas, you should configure gdb --with-gnu-as.
#
-weird.o: $(srcdir)/weird.def $(srcdir)/weird-ecoff.sed
+weird.o: $(srcdir)/weird.def $(srcdir)/ecoff.sed
sed -e '/.long/.word/' <$(srcdir)/weird.def | \
- sed -f $(srcdir)/weird-ecoff.sed >weird.s
+ sed -f $(srcdir)/ecoff.sed >weird.s
$(CC) -c weird.s
diff --git a/gdb/testsuite/gdb.stabs/weird-ecoff.sed b/gdb/testsuite/gdb.stabs/ecoff.sed
index 1892539..1892539 100644
--- a/gdb/testsuite/gdb.stabs/weird-ecoff.sed
+++ b/gdb/testsuite/gdb.stabs/ecoff.sed
diff --git a/gdb/testsuite/gdb.stabs/xcoff.mt b/gdb/testsuite/gdb.stabs/xcoff.mt
index 95d867d..85ef9bb 100644
--- a/gdb/testsuite/gdb.stabs/xcoff.mt
+++ b/gdb/testsuite/gdb.stabs/xcoff.mt
@@ -1,3 +1,3 @@
-weird.o: $(srcdir)/weird.def $(srcdir)/weird-xcoff.sed
- sed -f $(srcdir)/weird-xcoff.sed <$(srcdir)/weird.def >weird.s
+weird.o: $(srcdir)/weird.def $(srcdir)/xcoff.sed
+ sed -f $(srcdir)/xcoff.sed <$(srcdir)/weird.def >weird.s
$(CC) -c weird.s
diff --git a/gdb/testsuite/gdb.stabs/weird-xcoff.sed b/gdb/testsuite/gdb.stabs/xcoff.sed
index 0dbcf5c..0dbcf5c 100644
--- a/gdb/testsuite/gdb.stabs/weird-xcoff.sed
+++ b/gdb/testsuite/gdb.stabs/xcoff.sed