[OB/PUSHED] Remove stale comment (was: Re: [PATCH] Set breakpoint on the right line)
Commit Message
On 08/12/2014 02:18 AM, Yao Qi wrote:
>
> /* Stub lines are present as no breakpoints/watchpoint gets hit if current PC
> already stays on the line PC while entering "step"/"continue". */
I noticed that this comment is stale. This is no longer true for
watchpoints. I've pushed this as obvious.
-------------------------
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(-)
@@ -1,3 +1,7 @@
+2014-08-19 Pedro Alves <palves@redhat.com>
+
+ * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
+
2014-08-19 Yao Qi <yao@codesourcery.com>
* gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
@@ -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. */