This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: breakpoints/1977: Hardware watchpoints can not be deleted, only disabled


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]