From 89ac6f79fb43c4eb9be856864f5229ca65df2a43 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Sun, 22 Jan 1995 06:25:50 +0000 Subject: [PATCH] The following fixes a FAIL caused by the fact that the alpha stabs configuration didn't use the ".if alpha" code in weird.def. * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32 bit pointer, so the 32 bit version works even on the alpha. * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}: Remove the stuff which allowed us to have separate versions for alpha and everything else. --- gdb/testsuite/ChangeLog | 8 ++++++++ gdb/testsuite/gdb.stabs/alpha.mt | 3 +-- gdb/testsuite/gdb.stabs/ecoff.mt | 3 +-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 348e5574188..de875893c1f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,13 @@ Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com) + The following fixes a FAIL caused by the fact that the alpha stabs + configuration didn't use the ".if alpha" code in weird.def. + * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32 + bit pointer, so the 32 bit version works even on the alpha. + * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}: + Remove the stuff which allowed us to have separate versions for + alpha and everything else. + * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix regexp which "info func operator\[\](" is supposed to match. Fix string to send to GDB. Note that GDB still doesn't work right. Add a diff --git a/gdb/testsuite/gdb.stabs/alpha.mt b/gdb/testsuite/gdb.stabs/alpha.mt index 4ebce022d4d..afa1289ad3f 100644 --- a/gdb/testsuite/gdb.stabs/alpha.mt +++ b/gdb/testsuite/gdb.stabs/alpha.mt @@ -2,6 +2,5 @@ # uses gas, you should configure gdb --with-gnu-as. # weird.o: $(srcdir)/weird.def $(srcdir)/ecoff.sed - sed -e '/.if notalpha/,/.endif notalpha/d' <$(srcdir)/weird.def | \ - sed -f $(srcdir)/ecoff.sed >weird.s + sed -f $(srcdir)/ecoff.sed <$(srcdir)/weird.def >weird.s $(CC) -c weird.s diff --git a/gdb/testsuite/gdb.stabs/ecoff.mt b/gdb/testsuite/gdb.stabs/ecoff.mt index 38f85cb40de..57e7f185f26 100644 --- a/gdb/testsuite/gdb.stabs/ecoff.mt +++ b/gdb/testsuite/gdb.stabs/ecoff.mt @@ -2,7 +2,6 @@ # uses gas, you should configure gdb --with-gnu-as. # weird.o: $(srcdir)/weird.def $(srcdir)/ecoff.sed - sed -e '/.if alpha/,/.endif alpha/d' <$(srcdir)/weird.def | \ - sed -e 's/.long/.word/' | \ + sed <$(srcdir)/weird.def -e 's/.long/.word/' | \ sed -f $(srcdir)/ecoff.sed >weird.s $(CC) -c weird.s -- 2.30.2