[patch/testsuite] remove m68*-hp-hpux* bits

Michael Elizabeth Chastain mec@shout.net
Sat Aug 30 04:55:00 GMT 2003


This patch removes some testsuite code for m68k*-*-hpux*,
which was obsoleted in gdb 5.3 and removed in gdb 6.0.

Testing: I ran these tests on native i686-pc-linux-gnu.
They continued to work normally.

I am committing this under the "any maintainer can make changes to
obsolete targets" rule, on the theory that REMOVED > OBSOLETE.

There is some more hp300 code in gdb proper, and I will get to
that next.  But I won't check that in immediately.

Michael C

2003-08-30  Michael Chastain  <mec@shout.net>

	* gdb.base/selftest.exp: Remove special check for m68k*-*-hpux.
	* gdb.gdb/observer.exp: Ditto.
	* gdb.gdb/xfullpath.exp: Ditto.

Index: gdb.base/selftest.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/selftest.exp,v
retrieving revision 1.10
diff -u -r1.10 selftest.exp
--- gdb.base/selftest.exp	20 Jul 2003 17:39:16 -0000	1.10
+++ gdb.base/selftest.exp	30 Aug 2003 04:41:57 -0000
@@ -32,15 +32,6 @@
     return
 }
 
-if [istarget "m68k*-*-hpux*"] then {
-    # The top-level makefile passes CFLAGS= (no -g) for hp300.  This probably
-    # should be fixed (it is only needed for gcc bootstrapping, not gdb),
-    # but until then.....
-    setup_xfail "*-*-*"
-    fail "cannot test self if compiled without debug info"
-    return -1
-}
-
 # Not all of the lines of code near the start of main are executed for
 # every machine.  Also, optimization may reorder some of the lines.
 # So all we do is try to step or next over everything until we get
Index: gdb.gdb/observer.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.gdb/observer.exp,v
retrieving revision 1.1
diff -u -r1.1 observer.exp
--- gdb.gdb/observer.exp	27 Mar 2003 20:13:28 -0000	1.1
+++ gdb.gdb/observer.exp	30 Aug 2003 04:41:57 -0000
@@ -33,15 +33,6 @@
     return
 }
 
-if [istarget "m68k*-*-hpux*"] then {
-    # The top-level makefile passes CFLAGS= (no -g) for hp300.  This probably
-    # should be fixed (it is only needed for gcc bootstrapping, not gdb),
-    # but until then.....
-    setup_xfail "*-*-*"
-    fail "cannot test self if compiled without debug info"
-    return -1
-}
-
 proc setup_test { executable } {
     global gdb_prompt
     global timeout
Index: gdb.gdb/xfullpath.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.gdb/xfullpath.exp,v
retrieving revision 1.1
diff -u -r1.1 xfullpath.exp
--- gdb.gdb/xfullpath.exp	5 Apr 2002 16:43:57 -0000	1.1
+++ gdb.gdb/xfullpath.exp	30 Aug 2003 04:41:58 -0000
@@ -1,4 +1,4 @@
-#   Copyright 2002
+#   Copyright 2002, 2003
 #   Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
@@ -31,15 +31,6 @@
 # are we on a target board
 if [is_remote target] {
     return
-}
-
-if [istarget "m68k*-*-hpux*"] then {
-    # The top-level makefile passes CFLAGS= (no -g) for hp300.  This probably
-    # should be fixed (it is only needed for gcc bootstrapping, not gdb),
-    # but until then.....
-    setup_xfail "*-*-*"
-    fail "cannot test self if compiled without debug info"
-    return -1
 }
 
 proc setup_test { executable } {



More information about the Gdb-patches mailing list