aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1995-07-20 19:21:28 +0000
committerJeff Law <law@redhat.com>1995-07-20 19:21:28 +0000
commit9ce4ab847112f8833508f447b5550e8b231a253d (patch)
treee2f843392093816306e93b29794d6be43218603d /gdb
parent35e7ac7f5471ed63d86ce268ab0ca5eda4e8b7fa (diff)
downloadgdb-9ce4ab847112f8833508f447b5550e8b231a253d.zip
gdb-9ce4ab847112f8833508f447b5550e8b231a253d.tar.gz
gdb-9ce4ab847112f8833508f447b5550e8b231a253d.tar.bz2
* gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
test if we can't handle IO to/from the inferior.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog3
-rw-r--r--gdb/testsuite/gdb.base/watchpoint.exp6
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 4dd152d..4c5c030 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,8 @@
Thu Jul 20 11:40:13 1995 Jeff Law (law@snake.cs.utah.edu)
+ * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
+ test if we can't handle IO to/from the inferior.
+
* gdb.c++/misc.exp: Always check for a program already being
started after sending a "run" command to gdb.
diff --git a/gdb/testsuite/gdb.base/watchpoint.exp b/gdb/testsuite/gdb.base/watchpoint.exp
index 86877de..baed0d4 100644
--- a/gdb/testsuite/gdb.base/watchpoint.exp
+++ b/gdb/testsuite/gdb.base/watchpoint.exp
@@ -424,8 +424,12 @@ proc test_stepping {} {
# Test stepping and other mundane operations with watchpoints enabled
proc test_watchpoint_triggered_in_syscall {} {
global prompt
- global timeout
+ global noinferiorio
+ if $noinferiorio {
+ verbose "Skipping test_watchpoint_triggered_in_syscall due to noinferiorio"
+ return
+ }
# Run until we get to the first marker function.
set x 0
set y 0