This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: breakpoints/1977: Hardware watchpoints can not be deleted, only disabled
- From: Daniel Jacobowitz <drow at false dot org>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 26 Jul 2005 20:08:00 -0000
- Subject: Re: breakpoints/1977: Hardware watchpoints can not be deleted, only disabled
- Reply-to: Daniel Jacobowitz <drow at false dot org>
The following reply was made to PR breakpoints/1977; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@false.org>
To: gdb-bug@haydon.net
Cc: gdb-gnats@sources.redhat.com
Subject: Re: breakpoints/1977: Hardware watchpoints can not be deleted, only disabled
Date: Tue, 26 Jul 2005 15:58:23 -0400
On Tue, Jul 26, 2005 at 07:47:25PM -0000, gdb-bug@haydon.net wrote:
> watchpoint debugging fails when trying to define and delete many
> watchpoints during a gdb session.
>
> gdb doesn't appear to actually delete the watchpoints. e.g.
> watch/breakpoint numbers aren't reused, e.g. after defining but
> having deleted most of the watchpoints it fails because it appears to
> erroneously maintain the defined set of watchpoints.
Watchpoint numbers aren't supposed to be reused.
> Create say 20 watchpoints, delete all but the last one which should
> leave one watchpoint. Resume execution... gdb fails and complains
> about too many hardware watchpoints.
I can't reproduce this. Can you attach a transcript?
--
Daniel Jacobowitz
CodeSourcery, LLC