]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2002-03-25 Fred Fish <fnf@redhat.com>
authorFred Fish <fnf@specifix.com>
Tue, 26 Mar 2002 00:13:22 +0000 (00:13 +0000)
committerFred Fish <fnf@specifix.com>
Tue, 26 Mar 2002 00:13:22 +0000 (00:13 +0000)
* gdb.base/attach.exp: Fix logic error that was suppressing this
test for all non hppa*-*-hpux* targets, instead of the hp target.
Move comments closer to the suppression point.  Also now need to
check that we are running natively.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/attach.exp

index 7a7de953357498f73c2f71265ec08782f29706a2..67cc3235d1ba70e01afdd53c6d2375e9b3b8c676 100644 (file)
@@ -1,3 +1,10 @@
+2002-03-25  Fred Fish  <fnf@redhat.com>
+
+       * gdb.base/attach.exp: Fix logic error that was suppressing this
+       test for all non hppa*-*-hpux* targets, instead of the hp target.
+       Move comments closer to the suppression point.  Also now need to
+       check that we are running natively.
+
 2002-03-22  Michael Snyder  <msnyder@redhat.com>
 
        * gdb.base/default.exp: Add test for gcore.  Update copyright.
index ca6f5e0ab53b8a9985e10359cdcae6a0b7002687..ca8ba922c24e8e22e8d41f87c9b4745023bc8bce 100644 (file)
 # Please email any bugs, comments, and/or additions to this file to:
 # bug-gdb@prep.ai.mit.edu
 
-# On HP-UX 11.0, this test is causing a process running
-# the program "attach" to be left around spinning.
-# Until we figure out why, I am commenting out the test
-# to avoid polluting tiamat (our 11.0 nightly test machine)
-# with these processes. RT
-#
-# Setting the magic bit in the target app should work.
-# I added a "kill", and also a test for the R3 register
-#  warning.           JB
-# 
 if $tracelevel then {
        strace $tracelevel
        }
@@ -34,9 +24,19 @@ if $tracelevel then {
 set prms_id 0
 set bug_id 0
 
+# On HP-UX 11.0, this test is causing a process running the program
+# "attach" to be left around spinning.  Until we figure out why, I am
+# commenting out the test to avoid polluting tiamat (our 11.0 nightly
+# test machine) with these processes. RT
+#
+# Setting the magic bit in the target app should work.  I added a
+# "kill", and also a test for the R3 register warning.  JB
+if { [istarget "hppa*-*-hpux*"] } {
+    return 0
+}
 
-if { ![istarget "hppa*-*-hpux*"] } {
-    #setup_xfail "*-*-*"
+# are we on a target board
+if ![isnative] then {
     return 0
 }