This is the mail archive of the gdb@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: RFC gdb crashes on watchpoint that's no longer valid


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);
Mine is for: do the same as for breakpoints (unless that is also dump-core :-)

Andrew



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