This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: Deleting watchpoints when the inferior exits
- To: Jeffrey A Law <law@cygnus.com>
- Subject: Re: Deleting watchpoints when the inferior exits
- From: Eli Zaretskii <eliz@gnu.org>
- Date: Mon, 9 Aug 1999 04:48:01 -0400
- CC: gdb@sourceware.cygnus.com
- References: <199908090507.WAA23809@cygint.cygnus.com> <531.934176641@upchuck.cygnus.com>
Date: Sun, 08 Aug 1999 23:30:41 -0600
From: Jeffrey A Law <law@cygnus.com>
> IMHO, this belongs in the user manual, not as a warning in the
> debugger itself.
I agree that this should be described in the manual. However, the
reason I mentioned an explicit warning is that GDB does issue such a
warning for exception catchpoints (which are also deleted when the
inferior exits). Since code breakpoints are not deleted, I think that
removal of watchpoints is no less surprising than the case of
catchpoints.