From 0718a8da7b359f184e1b3a866645cc2f9611771b Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Tue, 19 Aug 2014 18:18:31 +0100 Subject: [PATCH] Remove stale comment This comment is no longer true for watchpoints since commit 31e77af2 (PR breakpoints/7143 - Watchpoint does not trigger when first set). gdb/testsuite/ * gdb.base/watchpoint-hw-hit-once.c (main): Update comment. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/watchpoint-hw-hit-once.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 060c7a14342..d30f7a33421 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-08-19 Pedro Alves + + * gdb.base/watchpoint-hw-hit-once.c (main): Update comment. + 2014-08-19 Yao Qi * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the diff --git a/gdb/testsuite/gdb.base/watchpoint-hw-hit-once.c b/gdb/testsuite/gdb.base/watchpoint-hw-hit-once.c index 8ba8ca437ba..aa64f1dd2e4 100644 --- a/gdb/testsuite/gdb.base/watchpoint-hw-hit-once.c +++ b/gdb/testsuite/gdb.base/watchpoint-hw-hit-once.c @@ -22,7 +22,7 @@ main (void) { volatile int dummy; - /* Stub lines are present as no breakpoints/watchpoint gets hit if current PC + /* Stub lines are present as no breakpoint gets hit if current PC already stays on the line PC while entering "step"/"continue". */ dummy = 0; /* Stub to catch WATCHEE access after runto_main. */ -- 2.30.2