This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFA] Fix logic error suppressing attach.exp tests


2002-02-28  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.

Index: gdb.base/attach.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/attach.exp,v
retrieving revision 1.2
diff -c -p -r1.2 attach.exp
*** attach.exp	2001/03/06 08:21:50	1.2
--- attach.exp	2002/02/28 21:11:58
***************
*** 17,42 ****
  # 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
  	}
  
  set prms_id 0
  set bug_id 0
- 
  
! if { ![istarget "hppa*-*-hpux*"] } {
!     #setup_xfail "*-*-*"
      return 0
  }
  
--- 17,37 ----
  # Please email any bugs, comments, and/or additions to this file to:
  # bug-gdb@prep.ai.mit.edu
  
  if $tracelevel then {
  	strace $tracelevel
  	}
  
  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
  }
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]