* 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.
This commit is contained in:
parent
3c6c7e4456
commit
26a08d1529
|
@ -1,3 +1,9 @@
|
||||||
|
Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
|
Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
|
||||||
|
|
||||||
* config/vx-gdb.exp: Use fake device to load files rather than
|
* config/vx-gdb.exp: Use fake device to load files rather than
|
||||||
|
|
|
@ -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
|
# The mips as doesn't grok #line directives, suppress them via -P during
|
||||||
# preprocessing.
|
# preprocessing.
|
||||||
# The sed script removes blanks that mips-tfile doesn't like,
|
# The sed script removes blanks that mips-tfile doesn't like,
|
||||||
# embedds stabs in comments and changes .long to .word
|
# embedds stabs in comments and changes .long to .word
|
||||||
#
|
#
|
||||||
WEIRDSTABS_S=weird-ecoff.S
|
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
|
weird.o: ${srcdir}/${WEIRDSTABS_S} ${srcdir}/weird.def ${srcdir}/weird-ecoff.sed
|
||||||
cp ${srcdir}/${WEIRDSTABS_S} tmp.c
|
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
|
sed -f ${srcdir}/weird-ecoff.sed <tmp.s >weird.s
|
||||||
$(STABSCC) -c weird.s
|
$(CC) -c weird.s
|
||||||
|
|
Loading…
Reference in New Issue