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: properly skip interrupts.exp



2002-03-01  Jim Blandy  <jimb@redhat.com>

	* gdb.base/interrupt.exp: Correct logic for skipping tests on
	targets that don't support interrupts.

Index: gdb/testsuite/gdb.base/interrupt.exp
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/testsuite/gdb.base/interrupt.exp,v
retrieving revision 1.36
diff -c -r1.36 interrupt.exp
*** gdb/testsuite/gdb.base/interrupt.exp	2001/10/31 18:28:27	1.36
--- gdb/testsuite/gdb.base/interrupt.exp	2002/03/01 22:24:08
***************
*** 18,28 ****
  # Please email any bugs, comments, and/or additions to this file to:
  # bug-gdb@prep.ai.mit.edu
  
! if [host_info exists name] {
!     if [board_info host exists gdb,nointerrupts] {
! 	verbose "Skipping interrupt.exp because of nointerrupts."
! 	continue
!     }
  }
  
  if [target_info exists gdb,noinferiorio] {
--- 18,26 ----
  # Please email any bugs, comments, and/or additions to this file to:
  # bug-gdb@prep.ai.mit.edu
  
! if [target_info exists gdb,nointerrupts] {
!     verbose "Skipping interrupt.exp because of nointerrupts."
!     continue
  }
  
  if [target_info exists gdb,noinferiorio] {


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