diff options
author | Peter Schauer <Peter.Schauer@mytum.de> | 1993-10-05 19:32:46 +0000 |
---|---|---|
committer | Peter Schauer <Peter.Schauer@mytum.de> | 1993-10-05 19:32:46 +0000 |
commit | a72e9833652c3a2e3c616b75522f7dfb462533e6 (patch) | |
tree | 50b18a002a9e3445c194f31428f2d174eab8fa2b | |
parent | ca0cc77f904892868ecc1154b4a9c004ebbdd1bd (diff) | |
download | gdb-a72e9833652c3a2e3c616b75522f7dfb462533e6.zip gdb-a72e9833652c3a2e3c616b75522f7dfb462533e6.tar.gz gdb-a72e9833652c3a2e3c616b75522f7dfb462533e6.tar.bz2 |
* gdb.stabs/alpha.mt: New configuration file for alpha.
* 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.
-rw-r--r-- | gdb/testsuite/ChangeLog | 35 | ||||
-rw-r--r-- | gdb/testsuite/gdb.stabs/.Sanitize | 1 | ||||
-rw-r--r-- | gdb/testsuite/gdb.stabs/alpha.mt | 15 | ||||
-rw-r--r-- | gdb/testsuite/gdb.stabs/configure.in | 7 | ||||
-rw-r--r-- | gdb/testsuite/gdb.stabs/ecoff.mt | 8 | ||||
-rw-r--r-- | gdb/testsuite/gdb.stabs/weird-ecoff.sed | 1 |
6 files changed, 62 insertions, 5 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 081b070..3ce02e3 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,38 @@ +Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * gdb.stabs/alpha.mt: New configuration file for alpha. + * 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. + +Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing + a long or float array cast all array members to the same type. + * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long + with 64 bit longs. + * gdb.t07/watchpoint.exp: Add finish and until variations encountered + on alpha. + * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha. + Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com) * gdb.t24 (demangle.exp): Constructors of templates have names like diff --git a/gdb/testsuite/gdb.stabs/.Sanitize b/gdb/testsuite/gdb.stabs/.Sanitize index 50fa744..59a767d 100644 --- a/gdb/testsuite/gdb.stabs/.Sanitize +++ b/gdb/testsuite/gdb.stabs/.Sanitize @@ -24,6 +24,7 @@ Do-first: Things-to-keep: Makefile.in +alpha.mt aout.mt configure.in ecoff.mt diff --git a/gdb/testsuite/gdb.stabs/alpha.mt b/gdb/testsuite/gdb.stabs/alpha.mt new file mode 100644 index 0000000..b628899 --- /dev/null +++ b/gdb/testsuite/gdb.stabs/alpha.mt @@ -0,0 +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 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 diff --git a/gdb/testsuite/gdb.stabs/configure.in b/gdb/testsuite/gdb.stabs/configure.in index cf5754f..44e4f11 100644 --- a/gdb/testsuite/gdb.stabs/configure.in +++ b/gdb/testsuite/gdb.stabs/configure.in @@ -15,6 +15,13 @@ case "${target}" in # Do any other machines use .stabx? What about i386-*-aix*? rs6000-*-aix*) target_makefile_frag=xcoff.mt ;; +alpha-*-*) if [ x${with_gnu_as} = xyes ]; then + target_makefile_frag=aout.mt + else + target_makefile_frag=alpha.mt + fi + ;; + mips-*-bsd*) target_makefile_frag=aout.mt ;; mips-*-*) if [ x${with_gnu_as} = xyes ]; then target_makefile_frag=aout.mt diff --git a/gdb/testsuite/gdb.stabs/ecoff.mt b/gdb/testsuite/gdb.stabs/ecoff.mt index f068913..ca88cec 100644 --- a/gdb/testsuite/gdb.stabs/ecoff.mt +++ b/gdb/testsuite/gdb.stabs/ecoff.mt @@ -2,14 +2,14 @@ # 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 +# preprocessing and change long to word as mips as doesn't grok .long. +# 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 tmp.c >tmp.s + $(CC) -I${srcdir} -E -P -Dlong=word tmp.c >tmp.s sed -f ${srcdir}/weird-ecoff.sed <tmp.s >weird.s $(CC) -c weird.s diff --git a/gdb/testsuite/gdb.stabs/weird-ecoff.sed b/gdb/testsuite/gdb.stabs/weird-ecoff.sed index c3fa0f1..a64a6d5 100644 --- a/gdb/testsuite/gdb.stabs/weird-ecoff.sed +++ b/gdb/testsuite/gdb.stabs/weird-ecoff.sed @@ -3,4 +3,3 @@ s/@stabs/ #@stabs/ s/" *, */",/g s/\([0-9]\) *, */\1,/g s/ *$// -s/\.long/.word/ |