This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 23/24] interrupt.exp: Revert back to checking gdb,noinferiorio at the top
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 21 Apr 2015 19:08:30 +0100
- Subject: [PATCH 23/24] interrupt.exp: Revert back to checking gdb,noinferiorio at the top
- Authentication-results: sourceware.org; auth=none
- References: <1429639711-16459-1-git-send-email-palves at redhat dot com>
The following patch will remove the gdb,noinferiorio setting from the
gdbserver boards, so this bit can be reverted.
gdb/testsuite/ChangeLog:
2015-04-21 Pedro Alves <palves@redhat.com>
* gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
at the top.
---
gdb/testsuite/gdb.base/interrupt.exp | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
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" {
--
1.9.3