From 9ce4ab847112f8833508f447b5550e8b231a253d Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 20 Jul 1995 19:21:28 +0000 Subject: [PATCH] * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall test if we can't handle IO to/from the inferior. --- gdb/testsuite/ChangeLog | 3 +++ gdb/testsuite/gdb.base/watchpoint.exp | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 4dd152d1a5d..4c5c0301e33 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 86877def87a..baed0d4d151 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 -- 2.30.2