a72e983365
* gdb.stabs/configure.in: Use it. * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable sharing with alpha.mt, redefine long to word via preprocessor. * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb for alpha. * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha native cc. * gdb.t00/teststrategy.exp: Change expect string so that we consume the `(xgdb)' from the command echo and from the gdb prompt. * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha. gdb currently compares all values as long, so this failure probably applies to any configuration where LONGEST is bigger than a target int. * gdb.t08/comp-info.c: New file to determine if gdbme is compiled with gcc. * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable to handle opaque pointers, gcc is. * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t as first argument. Include <sys/types.h> and change all operator new definitions to use size_t. * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new now that we use size_t.
15 lines
578 B
Mathematica
15 lines
578 B
Mathematica
# This configuration is for a gcc that uses mips-tfile. If your gcc
|
|
# uses gas, you should configure gdb --with-gnu-as.
|
|
#
|
|
# The alpha as doesn't grok #line directives, suppress them via -P during
|
|
# preprocessing.
|
|
# The sed script removes blanks that mips-tfile doesn't like and
|
|
# embedds stabs in comments.
|
|
#
|
|
WEIRDSTABS_S=weird-ecoff.S
|
|
|
|
weird.o: ${srcdir}/${WEIRDSTABS_S} ${srcdir}/weird.def ${srcdir}/weird-ecoff.sed
|
|
cp ${srcdir}/${WEIRDSTABS_S} tmp.c
|
|
$(CC) -I${srcdir} -E -P -DTARGET_IS_ALPHA tmp.c >tmp.s
|
|
sed -f ${srcdir}/weird-ecoff.sed <tmp.s >weird.s
|
|
$(CC) -c weird.s
|