diff options
author | Peter Schauer <Peter.Schauer@mytum.de> | 1993-09-17 11:51:28 +0000 |
---|---|---|
committer | Peter Schauer <Peter.Schauer@mytum.de> | 1993-09-17 11:51:28 +0000 |
commit | 26a08d1529467903757394361c84f59ebd5ce0b4 (patch) | |
tree | f8bf8ee0371a434f3a57b0dee9961791c232c31d /gdb/testsuite/gdb.stabs | |
parent | 3c6c7e445694efd95aa6de3abac9ac36977b46e8 (diff) | |
download | gdb-26a08d1529467903757394361c84f59ebd5ce0b4.zip gdb-26a08d1529467903757394361c84f59ebd5ce0b4.tar.gz gdb-26a08d1529467903757394361c84f59ebd5ce0b4.tar.bz2 |
* gdb.stabs/ecoff.mt: Remove STABSCC hack.
* gdb.stabs/weird.exp: Handle the case where weird.o is compiled
by mips cc and contains no stabs entries.
Diffstat (limited to 'gdb/testsuite/gdb.stabs')
-rw-r--r-- | gdb/testsuite/gdb.stabs/ecoff.mt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.stabs/ecoff.mt b/gdb/testsuite/gdb.stabs/ecoff.mt index af17f69..f068913 100644 --- a/gdb/testsuite/gdb.stabs/ecoff.mt +++ b/gdb/testsuite/gdb.stabs/ecoff.mt @@ -1,14 +1,15 @@ +# This configuration is for a gcc that uses mips-tfile. If your gcc +# uses gas, you should configure gdb --with-gnu-as. +# # The mips as doesn't grok #line directives, suppress them via -P during # preprocessing. # The sed script removes blanks that mips-tfile doesn't like, # embedds stabs in comments and changes .long to .word # WEIRDSTABS_S=weird-ecoff.S -# Only gcc knows about stabs-in-ecoff -STABSCC=gcc weird.o: ${srcdir}/${WEIRDSTABS_S} ${srcdir}/weird.def ${srcdir}/weird-ecoff.sed cp ${srcdir}/${WEIRDSTABS_S} tmp.c - $(STABSCC) -I${srcdir} -E -P tmp.c >tmp.s + $(CC) -I${srcdir} -E -P tmp.c >tmp.s sed -f ${srcdir}/weird-ecoff.sed <tmp.s >weird.s - $(STABSCC) -c weird.s + $(CC) -c weird.s |