aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2015-07-29 11:09:46 +0100
committerPedro Alves <palves@redhat.com>2015-07-29 11:09:46 +0100
commit8b75dd3b8a32e790d7d9f1621ad4fbb6d7af9e8e (patch)
tree48838333262ec91231401f27c0203402de6e5212
parentdedad4e3d2ed1d6ecdb89422fc0baa028021f19d (diff)
downloadgdb-8b75dd3b8a32e790d7d9f1621ad4fbb6d7af9e8e.zip
gdb-8b75dd3b8a32e790d7d9f1621ad4fbb6d7af9e8e.tar.gz
gdb-8b75dd3b8a32e790d7d9f1621ad4fbb6d7af9e8e.tar.bz2
interrupt.exp: Revert back to checking gdb,noinferiorio at the top
The following patch will remove the gdb,noinferiorio setting from the gdbserver boards, so this bit can be reverted. gdb/testsuite/ChangeLog: 2015-07-29 Pedro Alves <palves@redhat.com> * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio at the top.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/interrupt.exp10
2 files changed, 10 insertions, 5 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 072a108..b03adc7 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2015-07-29 Pedro Alves <palves@redhat.com>
+ * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
+ at the top.
+
+2015-07-29 Pedro Alves <palves@redhat.com>
+
* gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
(main): Call gdb_unbuffer_output.
* gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
diff --git a/gdb/testsuite/gdb.base/interrupt.exp b/gdb/testsuite/gdb.base/interrupt.exp
index f594ba4..426c2a6 100644
--- a/gdb/testsuite/gdb.base/interrupt.exp
+++ b/gdb/testsuite/gdb.base/interrupt.exp
@@ -18,6 +18,11 @@ if [target_info exists gdb,nointerrupts] {
continue
}
+if [target_info exists gdb,noinferiorio] {
+ verbose "Skipping interrupt.exp because of noinferiorio."
+ return
+}
+
standard_testfile
set options { debug }
@@ -45,11 +50,6 @@ if ![file exists $binfile] then {
if [runto_main] then {
global inferior_spawn_id gdb_spawn_id
- if {[target_info exists gdb,noinferiorio] && $inferior_spawn_id == $gdb_spawn_id} {
- verbose "Skipping interrupt.exp because of noinferiorio."
- return
- }
-
set msg "process is alive"
gdb_test_multiple "continue" $msg {
-i "$inferior_spawn_id" -re "talk to me baby\r\n" {