* gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
authorJeff Law <law@redhat.com>
Thu, 20 Jul 1995 19:21:28 +0000 (19:21 +0000)
committerJeff Law <law@redhat.com>
Thu, 20 Jul 1995 19:21:28 +0000 (19:21 +0000)
test if we can't handle IO to/from the inferior.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/watchpoint.exp

index 4dd152d1a5dc58c1e03af241103db9b492f9dcb5..4c5c0301e338eaee04c45c281b18ec101b00c0f8 100644 (file)
@@ -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.
 
index 86877def87ac545e3f264a8f99ac6ea88b242c14..baed0d4d1516b3a0ed82ff40f1b6c4ae922ff04f 100644 (file)
@@ -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