aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/interrupt.exp
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2002-07-18 23:52:49 +0000
committerJim Blandy <jimb@codesourcery.com>2002-07-18 23:52:49 +0000
commiteecf4bedc4056f0ecb66b870100a2948bdeed0c5 (patch)
treee4e1f672449f0a953c5ff7c3a9184889a4d696c0 /gdb/testsuite/gdb.base/interrupt.exp
parent0fe7bf7bb4a8937f499fd9ae585fb15f37c6fa6e (diff)
downloadgdb-eecf4bedc4056f0ecb66b870100a2948bdeed0c5.zip
gdb-eecf4bedc4056f0ecb66b870100a2948bdeed0c5.tar.gz
gdb-eecf4bedc4056f0ecb66b870100a2948bdeed0c5.tar.bz2
* gdb.base/interrupt.exp: Correct logic for skipping tests on
targets that don't support interrupts.
Diffstat (limited to 'gdb/testsuite/gdb.base/interrupt.exp')
-rw-r--r--gdb/testsuite/gdb.base/interrupt.exp8
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.base/interrupt.exp b/gdb/testsuite/gdb.base/interrupt.exp
index fc3a30c..6d5401d 100644
--- a/gdb/testsuite/gdb.base/interrupt.exp
+++ b/gdb/testsuite/gdb.base/interrupt.exp
@@ -18,11 +18,9 @@
# 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] {