diff options
author | Fred Fish <fnf@specifix.com> | 2002-03-26 00:13:22 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 2002-03-26 00:13:22 +0000 |
commit | 33c3e192bd65ecdc7e99b323e826f73aba82c7b6 (patch) | |
tree | a8c4bfb0376b7b729cd3e136cee36d979af2b753 /gdb | |
parent | 2f766f6c06eade6f8d57fbe0c8c7c85316ef4f26 (diff) | |
download | gdb-33c3e192bd65ecdc7e99b323e826f73aba82c7b6.zip gdb-33c3e192bd65ecdc7e99b323e826f73aba82c7b6.tar.gz gdb-33c3e192bd65ecdc7e99b323e826f73aba82c7b6.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | 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 <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. 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 } |