RFC gdb crashes on watchpoint that's no longer valid

Eli Zaretskii eliz@is.elta.co.il
Wed Aug 14 04:03:00 GMT 2002


> Date: Tue, 13 Aug 2002 15:21:24 -0700
> From: Jason Molenda <jason-swarelist@molenda.com>
> 
> Do either of these approaches appeal to anyone?

My vote is for removing the watchpoint, but I think the message
should be more clear.  For example:

      if (! gdb_parse_exp_1 (&s, innermost_block, 0, &(b->exp)))
        {
          warning ("Unable to reset watchpoint %d (some of "
                   "its variables don't exist); deleting", b->number);



More information about the Gdb mailing list