From 33c3e192bd65ecdc7e99b323e826f73aba82c7b6 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Tue, 26 Mar 2002 00:13:22 +0000 Subject: [PATCH] 2002-03-25 Fred Fish * 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 | 7 +++++++ gdb/testsuite/gdb.base/attach.exp | 24 ++++++++++++------------ 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 7a7de95..67cc323 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2002-03-25 Fred Fish + + * 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 * gdb.base/default.exp: Add test for gcore. Update copyright. diff --git a/gdb/testsuite/gdb.base/attach.exp b/gdb/testsuite/gdb.base/attach.exp index ca6f5e0..ca8ba92 100644 --- a/gdb/testsuite/gdb.base/attach.exp +++ b/gdb/testsuite/gdb.base/attach.exp @@ -17,16 +17,6 @@ # 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 } -- 2.7.4