Deleting watchpoints when the inferior exits

Eli Zaretskii eliz@gnu.org
Mon Aug 9 01:48:00 GMT 1999


  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.


More information about the Gdb mailing list