* gdb.base/interrupt.exp: Correct logic for skipping tests on
authorJim Blandy <jimb@codesourcery.com>
Thu, 18 Jul 2002 23:52:49 +0000 (23:52 +0000)
committerJim Blandy <jimb@codesourcery.com>
Thu, 18 Jul 2002 23:52:49 +0000 (23:52 +0000)
targets that don't support interrupts.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/interrupt.exp

index bdc0926d14f07c54f4bab1f1e27d90b4b8bf89af..e671898b1baf0a86057b46601da1044c67417236 100644 (file)
@@ -1,3 +1,8 @@
+2002-07-18  Jim Blandy  <jimb@redhat.com>
+
+       * gdb.base/interrupt.exp: Correct logic for skipping tests on
+       targets that don't support interrupts.
+
 2002-07-10  Paul N. Hilfinger  <hilfingr@otisco.mckusick.com>
 
        * gdb.base/attach.exp: Add patterns to match output from /proc-based
index fc3a30cc12df3685a71f7e5740b6d8c71d73642d..6d5401d71aa69386b46b4bd227dbcc12245df9f7 100644 (file)
 # 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,nointerrupts] {
+    verbose "Skipping interrupt.exp because of nointerrupts."
+    continue
 }
 
 if [target_info exists gdb,noinferiorio] {